Hello,
I am starting my first ruby rails project and I am impressed with it. I am learning the basics of ruby and I can see why people enjoy it as a language. Now, here is what I want to know:
Should I really bone up on ruby for a good few days (For instance, this weekend) and learn all I can about:
Strings, vars, arrays, loops, etc
or is Rails, the framework, so focused on using its own syntax/logic, that it's really not necessary?
PS. Here is an example of what I mean.
Ruby Original Code
Code:
@names.each do |name|
puts "Hello #{name}!"
end
Do we use {name} to personalize any data in rails? I don't see such a litreal usage (yet, from my limited research) in rails ruby code. That's my concern, getting too familiar with syntax in original ruby and having to start over with Rails syntax (if there is a difference). Since my goal is 'web only' development, I just wondered if I should 'learn ruby' the way rails uses it. Since my goal is to focus only on online deployment, I wonder if I should just 'learn ruby' through rails and not bother using the command line to learn ruby?
Bookmarks