12-20-2010, 01:56 PM
So many threads about ruby but not many about rails? I've been learning it since about 10 this morning (its 9pm) and I already love it =]
As apposed to PHP.
That would probably take 4x as many lines to write in PHP.
As apposed to PHP.
Code:
posts = Posts.where(:name => 'Hi')
posts.each do |post|
puts post.name
end
That would probably take 4x as many lines to write in PHP.
WhiteHat Hacker, Infection Control and HJT Team Trainee
Poppins™
Originally from: Hackforums.net