[Rails] Can't get ruby on rails and scriptaculous (visual_effect) to display inside facebox popup

2011-03-16 Thread macro
I use facebox to display a lightbox popup inside my RoR 2.3.9 application to display a :partial. Inside this partial, I want to toggle (or any other visual effect that would go from one div to another inside the partial) from several steps for a form_for. When I do the following for both buttons

[Rails] Error on update for a 3 columns join table

2011-02-23 Thread macro
I have a problem while updating a 3 keys join table. I've been on this for quite a while now and have no idea how to fix it. In short, to be able to get the new project working, I had to set these two habtm declaration (in /models/project.rb): has_and_belongs_to_many :users,

[Rails] Re: Join three tables with a common join table

2011-02-21 Thread macro
could   watch both models, and respond to either one. Walter On Feb 17, 2011, at 6:21 PM, macro wrote: Should I simply do it some other way? -- You received this message because you are subscribed to the Google   Groups Ruby on Rails: Talk group. To post to this group, send email

[Rails] Re: Join three tables with a common join table

2011-02-21 Thread macro
could   watch both models, and respond to either one. Walter On Feb 17, 2011, at 6:21 PM, macro wrote: Should I simply do it some other way? -- You received this message because you are subscribed to the Google   Groups Ruby on Rails: Talk group. To post to this group, send email

[Rails] Join three tables with a common join table

2011-02-17 Thread macro
I have the following three tables: user, role and project. --- User has_and_belongs_to_many :roles, :join_table = projects_roles_users has_and_belongs_to_many :projects, :join_table = projects_roles_users Role has_and_belongs_to_many :users, :join_table = projects_roles_users

[Rails] Re: Join three tables with a common join table

2011-02-17 Thread macro
Should I simply do it some other way? -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to