No:

ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column:
ressorts.worker_id: SELECT  "ressorts".* FROM "ressorts" WHERE
("ressorts".worker_id = 1) LIMIT 1

irb(main):037:0> Ressort
=> Ressort(id: integer, name: string, description: text, created_at:
datetime, updated_at: datetime)


On Feb 20, 1:57 pm, Michael Pavling <[email protected]> wrote:
> On 20 February 2011 12:47, rogi <[email protected]> wrote:
>
> > Nothing, I only had the typo here.
> > So, still facing the problem!
>
> Does it work the other way around? can you call "Worker.first.ressort"?

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