Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJames Joyce
3,551 PointsAdvice on track/course with better overview of Ruby Syntax
I'm having difficulty keeping up and understanding the syntax in this "Write our first tests" video. I went onto watch the next two videos and I am getting even more lost. I already watched the ruby basics videos as part of the rails development track but those didn't seem to cover all concepts and syntax leading up to this video. Would you recommend that I complete all or part of the Learn Ruby track before continuing on the rails development track? Thank you for your help.
1 Answer
Steve Hunter
57,712 PointsHi James,
I also found some parts of this course quite quick and difficult to take in. I found the best way through this was to muddle through, Googling errors and trying to work out the problems. The error messages that ruby/rails throws are quite helpful (sometimes!) and the Community pages here are very good for solving issues.
I've not done the older courses on Rails here but have gained a rough knowledge from other online resources. Notably, Michael Hartl has a very good tutorial; it used to be free, it may not be now.
Learning the Learn Ruby track can't do any harm, however!
Keep working on it and shout if you get stuck.
Steve.
James Joyce
3,551 PointsJames Joyce
3,551 PointsHi Steve,
Thanks for getting back to me. My tests were consistently passing and I was able to copy the syntax by pausing the video frequently. I suppose I just wish the video or videos in general on treehouse(and beyond) described the syntax in more depth consistently to reinforce what a function is, versus a method, versus a variable is and so on, and why in different declarations you use periods or semicolons, parenthesis, brackets, curly-braces etc. As the videos get more complex it would be helpful to have a refresher on these concepts because many times they are mentioned once in the "basics" steps of languages and then breezed over in later courses.
Thank you for again for your encouragement, that is always helpful when code gets overwhelming.
Steve Hunter
57,712 PointsSteve Hunter
57,712 PointsI take your point, and agree. The basics of the syntax is tricky to pick up and not explained in this course. There may be others that cover the basics better. I took a while understanding what the opening erb tags meant, i.e. with and without the = sign!
I think much of the non-Ruby/Rails concepts; methods/functions, classes, objects/instances etc. are covered in other languages as they are common concepts. But that's no reason to omit them here!
Steve.