04 Nov '12, 1pm

Ruby on Rails has many relation table: I have a table rb wich has many interfaces, then each interface has many

I have a table rb wich has many interfaces , then each interface has many interface_graph_data . Now my rb interface has_many relation seems to work fine, my only problem is the interface interface_graph_data relation. Here are my models. class Rb < ActiveRecord::Base validates_presence_of :name validates_presence_of :ip validates_uniqueness_of :ip validates_presence_of :username validates_presence_of :password has_many :interfaces has_many :interfacegraphdata, :through => :interfaces end class Interface < ActiveRecord::Base has_many :interfacegraphdata end class InterfaceGraphData < ActiveRecord::Base end

Full article: http://stackoverflow.com/questions/13218814/ruby-on-rails...

Tweets

Gas Chambers Are the Heartless End for Many Cats and Dogs

Gas Chambers Are the Heartless End for Many Cat...

care2.com 04 Nov '12, 9pm

“At a 6% carbon monoxide concentration, the average time to loss of consciousness has not been precisely determined, nor i...

New post: DIY Micro table saw

New post: DIY Micro table saw

electronics-lab.com 03 Nov '12, 9am

This long desired project is finally finished. Now I can clean-cut metal, plastics or wood stock easily and with minimal l...

New post: With the Hameg 8000 series devices you always have on a table all you need

New post: With the Hameg 8000 series devices yo...

electronics-lab.com 04 Nov '12, 8am

To have all we need on a table and to maintain enough space for a work – it is a stable challenge at a work with electroni...

Building Small: In Many Industries, Economies o...

greenbuildingelements.com 03 Nov '12, 4pm

This trend—observable in nascent form in several industries ranging from small, modular nuclear reactors, chlorine plants,...

#RubyOnRails Rails app to import facebook frien...

freelancer.com 03 Nov '12, 7pm

Project ID: 2618685 Project Type: Fixed Project Description: A Rails 3 / PostgreSQL app that only allows sign in via Faceb...

SocialMediaJobs Ruby and Ruby on Rails Software...

socialmediajobs.com 04 Nov '12, 3pm

Yoh has a contract opportunity for a Ruby and Ruby on Rails Software Engineer to join our client in Norcross, GA. Job Resp...

autotest -rails | Ruby on Rails for Newbies:

autotest -rails | Ruby on Rails for Newbies:

nubyonrails.com 04 Nov '12, 8am

“You should spend at least half of your time in the ‘test’ directory.” — Jeremy Voorhis “Quit looking at your web browser!...

#Ettore #Bugatti with one if his many models of his super cars #Classics #Luxury #Class

#Ettore #Bugatti with one if his many models of...

instagram.com 18 Nov '12, 1am

International Event Connoisseur , Air miles collector, luxury real estate, Ultimate Businessman, Exotic car enthusiast #Nu...

Read It: Notebook: Poulter sets mark for score ...

pgatour.com 04 Nov '12, 10am

• Dufner shot a final-round 64 following a disappointing 71 in the third round for his second runner-up finish in the last...

70% off by Nov 5 2012 Ruby on Rails for Beginne...

udemy.com 04 Nov '12, 5pm

Michael Hartl's Ruby on Rails™ Tutorial for beginners is your complete video guided tour of modern Rails web development! ...