Ruby on Rails(RoR) 3 Syntax

ROR scripting block
<% .....   %>

Where as the PHP scripting block
<?  .....   ?>


comments
Line comments run from a bare '#' character to the end of the line
#

block comments
=begin
[Multi line comment]
=end

useful links

Comments

Popular posts from this blog

how to Add Piecemaker a Flash 3D image rotator to blogger