Displaying 3 results from an estimated 3 matches for "michaelboutro".
Did you mean:
michaelboutros
2006 Feb 12
9
CSS in Views
How can I link to a CSS file in one of my view files?
--
Posted via http://www.ruby-forum.com/.
2006 Feb 12
3
.empty? Method
I am using:
if @post.empty?
render_text "Post does not exist."
end
But it gives me this error:
NoMethodError in Posts#view
undefined method `empty?'' for #<Posts:0x39598d0>
However, if the method list empty? apears and stuff so I am confused.
--
Posted via http://www.ruby-forum.com/.
2006 Feb 12
3
Timestamp -> Date
I have a timestamp in a row in my MySQL DB, and I can output the
timestamp, but what method could I use to turn the timestamp into the
date, like the PHP function date()?
Also, can I have the link to any place that lists all RoR
Methods/Classes that is not the official one? If no other ones exist, no
problem :)
--
Posted via http://www.ruby-forum.com/.