Ruby on Rails Sunday, August 1, 2010

I'm returning a value from the db which is true/false and I'd like to
convert that to something more meaningful - how can I incorporate an if
then into the inline html?

I have tried if ... puts "xxx", but to no avail.

Sorry, I'm a noobie and not quite got my head around this as yet or the
error messages.
--
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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment