[Rails] Variable Access in Prawn
Hi, i am working on a rails app, and i generate the page using Prawn for
PDF, but while i use this command:
<%=@carbon_calculate.comments%> on the show.html.pdf, it generates just
the only column available for display in the database, but
in the show.pdf, uisng the same command generates other columns in the
table which are not meant to be accessable, e.g date created, time e.t.c
please what can i do
--
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 https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home