Displaying 2 results from an estimated 2 matches for "plants_us".
Did you mean:
plants_cm
2006 Nov 04
0
Rails newbie - can anyone please help with many to many NoMethodError
Please can someone help with the following problem -
I''m using LoginEngine and have a Users table linked many to many to a Plants table. The joining table is plants_users with plant_id and user_id (there are extra fields, so I''m avoiding has_and_belongs_to_many - plus it didn''t work :().
::user.rb starts:-
class User < ActiveRecord::Base
has_many :Plants, :through => :plants_users
...
::plant.rb is:-
class Plant < ActiveRecord::Base...
2006 Jun 26
10
Create tables on the fly in rails?
Hello everyone :) Love the mailing list! I read it as much as I can!
Thanks all you RoR guru''s for providing so much help.
Anyways... So say I have Users, and each user can have a list of Plants
that they like. I would want to give each user a table that has many
entries to show me which plants they like. How could I do this?
I don''t know if there''s a way to do