Image I have this model: Class Post < ActiveRecord::Base validates_presence_of :date validates_presence_of :title validates_presence_of :text end
But now I want to do the same as this page : http://www.tamarawobben.nl/dagboek/2005/09/2/ So text a image and the rest of the text. What's the best way to do this in ROR. Must I made for every post a seperate layout which will contain the image of the page if there is a image on that page or is there a better way. Roelof -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/w2-GHFfXmg0J. For more options, visit https://groups.google.com/groups/opt_out.