Re:Ask HN: Should I or Why should I bother continuing with r...
by LeBlanc on Tuesday September 21, 2010 @09:19PM
(#1714817)
I also recommend learning Ruby before Rails. I tried it the other way and was often very confused as to why something would work or not because Ruby and Rails both do a lot of things that seem like magic to a new user.
Plus, hacking in Ruby can be a lot of fun. There are a lot of really neat tricks you can use to do really cool things.
Re:Ask HN: Should I or Why should I bother continuing with r...
by pedalpete on Wednesday September 22, 2010 @10:28PM
(#1718331)
When I told a friend I was giving up on Rails and explained why, he also recommended learning Ruby alone. I didn't understand why until he explained " the caller doesn't have to use curly braces to signify a hash if the hash is the last argument in the call. For methods that only take a single hash as an argument, this is pretty easy to understand. "
This resolved a huge issue I was having with my Ruby, but I find this to be a really poor way to write a language. Maybe it will just take more getting used to.
We hear people say that English is so difficult to learn because of these 'rules and exceptions', so maybe I just need to get that mentality and realize that just because something worked in one instance, it won't in another.
I will spend more time focusing on learning Ruby. i was always thinking the problems I was having was due to rails.
Also, if it's Rails that's giving you trouble, have you considered starting with a smaller framework like Camping or Sinatra? That feeling of none of your code working can be frustrating, but maybe it's because you missed some of the beginning steps with Ruby and it's making things more difficult than they should be!