[Rails] Views with data from db not rendering
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@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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home