Agile Web Development with Rails 7: Data Types, Methods (p.45) [solved]

The previous section discussed symbols as used for redirect actions which relate to busy and rails.

Then the next section discusses creation of a ruby method. If someone is new to development they may have problems getting a full context switch. For people with enough exposure to ruby and rails not a problem. I would suggest that perhaps methods is introduced as creating a new ruby source code file to enable new developers to get better context and if they decide to follow along. Also should ‘irb’ be introduced to assist in this?

I encourage you to review “Who This Book Is For” on page xv. The book presumes that you are a programmer who understands at least how to read HTML. Just not necessarily a programmer who has experience with the Ruby language.

If you don’t already know what a method is (from other languages, perhaps), you likely won’t have made it past the term “object oriented” earlier in this chapter.

As to irb: that is mentioned much later in the book. Meanwhile the purpose of this chapter is to introduce you to just enough of the Ruby language to get onto the real purpose of the book: learning Rails.

Does this make sense?