Ruby on Rails Wednesday, December 1, 2010

Gregory Grimaux wrote in post #965320:
> Vladimir Rybas wrote in post #965318:
>>> I'm sorry I don't understand what you mean by *nix maybe you're talking
>>> about nginx
>>
>> He is talking about UNIX dude
>
> OK :D Sorry. I found my error. I had two site configured in my apache
> configuration. One with rails= prod and one with rails = dev. And of
> course it was using rails = dev. So I think I found my problem. I will
> let a message to confirm. I need to made some fix on server now since it
> does not start correctly.

Now I have a another problem. It works in my development environment but
no in production.

*** Exception ArgumentError in
PhusionPassenger::Railz::ApplicationSpawner (No association found for
name `machines'. Has it been defined yet?) (process 16052):
from
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/nested_attributes.rb:245:in
`accepts_nested_attributes_for'
from
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/nested_attributes.rb:222:in
`each'
from
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/nested_attributes.rb:222:in
`accepts_nested_attributes_for'
from /home/et1/wip3/sophia/app/models/machines_operatingsystem.rb:2


But I don't understand why.

--
Posted via http://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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment