On Oct 26, 12:49 pm, Marnen Laibow-Koser <rails-mailing-l...@andreas- s.net> wrote: > > Then create a method with a different name -- say, create_with_user_id > -- or use a before_create callback to set the user_id. Don't override > create.
or in this case, using associations and writing some_user.objectives.create(...) would be even nicer. Would still be interesting to find exactly what is going on. Fred > > > On Oct 25, 2:15 pm, Marnen Laibow-Koser <rails-mailing-l...@andreas- > > Best, > -- > Marnen Laibow-Koserhttp://www.marnen.org > [email protected] > -- > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

