S
semmons99
Can anyone explain to me why the code works:
<input id="recipe_title" name="recipe[title]"
While this code doesn't:
<input id="recipe_title" name="recipe[ title ]"
I know that most people don't put spaces in between brackets, however I
like to for readability. It seems like I can do this everywhere in Ruby
and Rails except for the name of html tag. Any thoughts on why this is?
<input id="recipe_title" name="recipe[title]"
While this code doesn't:
<input id="recipe_title" name="recipe[ title ]"
I know that most people don't put spaces in between brackets, however I
like to for readability. It seems like I can do this everywhere in Ruby
and Rails except for the name of html tag. Any thoughts on why this is?