On 28 September 2011 20:46, Jason Fleetwood-Boldt <t...@datatravels.com> wrote:
> On Sep 28, 2011, at 3:28 PM, ERB wrote:
> class Company < ActiveRecord::Base
>    belongs_to: user
>
>
> this should be
> belong_to :user

erm. No it shouldn't. "belongs_to" is the correct call.

-- 
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 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to