Displaying 2 results from an estimated 2 matches for "associatioon".
Did you mean:
association
2009 Mar 18
0
search across models
...e above query i could able to write and test in mysql prompt.
But if i try to implement this i could not able to do this.
Can you suggest me how exactly the code looks like to search the data
from a table based on other table parametrs selected?
suggest me if iam doing any mistake while assigning associatioons.
Any help would be appreciated.
thanks
Srikanth
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@publ...
2009 Aug 01
0
Nested forms and deleting/removing has_many associations
I am using nested forms on person model that has many pictures.
I would like to allow the user to remove on or more of the associated
pictures from the person using nested forms as suggested by Ryan Bates.
However delete will delete the picture not remove the associatioon
I can do it in the controller, but it should be done in the same way as
delete is performed using attribute _delete
Anyone knowing if a _remove attribute is implemented or know any other
way to solve the problem (e.g. that could be a command
allow_remove=true)
Another problem is that it seems as n...