On Oct 26, 6:03 am, Frederick Cheung <[email protected]>
wrote:
> 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.

I see where you are coming from.

> Would still be interesting to find exactly what is going on.

Yes, very much so!

>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to