Re: [Rails] Strange view problem
On 23 May 2011 05:33, Kevin <darkintent@gmail.com> wrote:
> I'm working with a Struct that I mapped from a raw sql query for a
> report. I finally get the search page to work and display my results,
> however the view when rendered not only displays the expected output;
> it also shows the Struct as it would look in the rails console!
Try removing stuff from your view until the unexpected output
disappears, then you will know which line of code is showing the
unwanted output. I hope you are using a Source Control System such as
git so that you can easily get back to where you started.
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@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