Do you read rails documentation properly. On Tue, Apr 7, 2009 at 3:07 PM, Colin Law <[email protected]> wrote:
> Have you tried going back to the previous version (that worked) and then > moving forward again? > > 2009/4/6 comopasta Gr <[email protected]> > > >> Hi, >> >> I'm thinking of re-creating the whole app completely. It is not public >> yet. But I don't get this error. >> >> On the site I just get "Application error Rails application failed to >> start properly". And then those "undefined method `empty?' for >> nil:NilClass" >> >> Everything was just working fine, the only things I did when all that >> started was a very simple change to a controller, changing a css class >> to a template (not a new css class, an existing one already). The only >> out of the normal I did was running migrate to add this line to a table: >> >> execute "alter table attachments add constraint fk_messages foreign key >> (message_id) references messages(id) ON DELETE CASCADE" >> >> That was commented out and I removed the # to run the migrate. But that >> is working fine with my local environment. >> >> Looks like Rails can be very cryptic when it comes to debugging these >> type of issues... >> >> Like I said thinking of re-creating the whole thing again to see if it >> goes ok. >> >> Cheers x-| >> >> >> >> >> >> -- >> 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 [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 -~----------~----~----~----~------~----~------~--~---

