Category Archives: Ruby on Rails
Follow-up on Ruby IDEs
After my original post on trying out Ruby IDEs, I’ve been working with Komodo Edit for the last 2 weeks. I found it a bit awkward and with the large number of files in the MarkUs project, I found that searching was extremely slow and didn’t always find keywords that I knew where actually in [...]
Action Controller: Requests
(Notes from Chapter 21 of “Agile Web Development with Rails, Third Edition”)
Posted in Ruby on Rails Tagged actions, controllers, partials, render, requests, routing, the book Comments closed
Ruby IDEs
Using a combination Notepad2 (with no Ruby syntax highlighting) and Windows Explorer definitely left much to be desired in terms of an editor. jEdit was my first foray into the IDE search since someone suggested it on the DrProject for MarkUs. It does the syntax highlighting just fine, but the File System Browser is almost [...]
Today is setup day.
Yesterday, I flew back to Waterloo for the school term that starts tomorrow. I found all of my course outlines, discovering that I only have 2 final exams this term! I’m living in the same place as I did on my previous school term (winter), so unpacking didn’t take very long and that leaves me [...]
Learning Ruby, Day Two
Regular expressions are sort of like in Perl, in that you would write them like this: if str =~ /Tara|Clark/ #do something end Blocks seem a bit confusing as well. Well I understand the idea of curl braces or do…end distinguishing it from other sections of code, but what confuses me is what they’re used [...]
Posted in Ruby on Rails Tagged exceptions, irb, language, perl, rdoc, regular expressions, the book Comments closed
More Learning Ruby
Interesting Things about Classes Starting class names with an uppercase letter is actually enforced. I think that this is a good thing, though that is a very easy typo to make. Members aren’t necessarily declared. A “class method” is sort of like a static method in Java, in that it can be called from anything, [...]
The Book, Day One
The Introduction chapter makes Ruby (and Rails) seem like something magical, not a programming language. I guess it’s partially marketing lingo. Appendix A, Introduction to Ruby It suggests reading through Appendix A, Introduction to Ruby. Since my only exposure to Ruby is copying code from existing scripts at work, I figured that I should read [...]
Active Controller, Part 2