I''ve installed Rails 3.0.7 and 3.0.8 on Ubuntu with Nginx, Ruby 1.9.2 and Passenger. Everything seems to work beautifully after some fiddling around, variables show up fine in views. However when I make calls via Active Record, the views don''t render in the browser, I just get a message saying "Something went wrong, we will get back to you." I''ve tried this with sqlite3 and now Postgres 8.4 with gems installed for each in each case, however views with db calls don''t work for some reason. The url is: http://www.m-odel.com - environment debug info not showing up. Here''s a scaffold for employees that has db tables after running db:migrate http://m-odel.com/employees/index That also doesn''t show up. Does anyone have any idea what may be the cause. I''ve upgraded to rails 3.1 pre thinking perhaps the latest version might resolve the issue. That''s what''s currently installed, but still no success with db views. Best, Pardeep. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 17 June 2011 09:45, Pardeep <exelstudio-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve installed Rails 3.0.7 and 3.0.8 on Ubuntu with Nginx, Ruby 1.9.2 > and Passenger. > > Everything seems to work beautifully after some fiddling around, > variables show up fine in views. > > However when I make calls via Active Record, the views don''t render in > the browser, I just get a message saying "Something went wrong, we > will get back to you."Are you running in production mode? Normally additional information would be shown if you were running in development mode. The Something went wrong message comes from public/500.html in your rails project. Have a look in the log file (log/development.log or log/production.log as appropriate) to see if more information there. Colin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
exelstudio-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2011-Jun-17 11:10 UTC
Re: Views with data from db not rendering
Thanks Colin, will check right now. Pardee. On 6/17/11 4:08 AM, "Colin Law" <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 17 June 2011 09:45, Pardeep <exelstudio-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> I''ve installed Rails 3.0.7 and 3.0.8 on Ubuntu with Nginx, Ruby 1.9.2 >> and Passenger. >> >> Everything seems to work beautifully after some fiddling around, >> variables show up fine in views. >> >> However when I make calls via Active Record, the views don''t render in >> the browser, I just get a message saying "Something went wrong, we >> will get back to you." > > Are you running in production mode? Normally additional information > would be shown if you were running in development mode. > > The Something went wrong message comes from public/500.html in your > rails project. Have a look in the log file (log/development.log or > log/production.log as appropriate) to see if more information there. > > Colin-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.