brianp wrote:
I have some enumerated fields on creation and I don't want to display them in the event someone has decided not to fill them out (ie leaving them as the default). The above does not work sadly. How can I appropriatly check for this. I also have some boolean values as well as possible nils(Or blank space). How can I check for these and if theres content display it. Otherwise skip that whole field ?
I figure it should be pretty easy but everything I try fails.
object.blank?
http://www.railsbrain.com/api/rails-2.3.2/doc/index.html?a=M000098&name=blank?