03 Oct '13, 4pm

Learning about #self in #Ruby: @rubylearning is pretty useful

Self - The current/default object <Modules/Mixins | TOC | Constants > At every point when your program is running, there is one and only one self - the current or default object accessible to you in your program. You can tell which object self represents by following a small set of rules. Top level context The top level context is before you have entered any other context, such as a class definition. Therefore the term top level refers to program code written outside of a class or module. If you open a new text file and type: x = 1 you have created a top level local variable x. If you type: def m end you have created a top level method - an instance method of Object (even though self is not Object ). Top-level methods are always private. Ruby provides you with a start-up self at the top level. If you type: puts self it displays main - a special term the default self object...

Full article: http://rubylearning.com/satishtalim/ruby_self.html

Tweets

If you are one of these developers, let's build...

rubini.us 05 Oct '13, 5am

Rubinius has no global interpreter lock, but we can significantly improve concurrency coordination in the system. During s...

@mhenrixon the Ruby compiler is written in Ruby...

rubini.us 05 Oct '13, 2pm

Bootstrapping is the process of building up functionality of the system until all Ruby code can be executed. There are sev...

Как протестировать Ruby state_machine

rubyflow.ru 02 Oct '13, 11pm

Как протестировать Ruby state_machine

Sam Ruby: Download RESTful Web Services

intertwingly.net 04 Oct '13, 1pm

Hey, folks, I got some pretty exciting news. Now that RESTful Web APIs has come out, there’s really no reason to buy 2007’...

Oh - and this was a Ruby puzzle I set

rubylearning.com 02 Oct '13, 8am

In David’s own words: “I’m an agile developer, writer and trainer based in the UK. I used to write a monthly Java developm...

Fast tests in Ruby on Rails

rubyflow.com 01 Oct '13, 3pm

Fast tests in Ruby on Rails Posted by manualwise on October 01, 2013 — 0 comments Developers need to be able to run tests ...

6 Ways To Remove Pain From Feature Testing In R...

rubyflow.com 02 Oct '13, 5pm

6 Ways To Remove Pain From Feature Testing In Ruby On Rails Posted by joelturnbull on October 02, 2013 — 0 comments Writin...

@noteu another one

yehudakatz.com 10 Oct '13, 1am

Gabe da Silveira , Posted February 15, 2010, 1:15 pm I gotta give you props for being very diplomatic in this post Yehuda....

@stubbornella is a good read all around, but 3....

guides.rubyonrails.org 03 Oct '13, 11am

Active Record Basics Rails Database Migrations Active Record Validations Active Record Callbacks Active Record Association...

@BMorearty pretty sure it's not true. Also, cop...

rubini.us 30 Sep '13, 11pm

We, Rubinius, absolutely reserve the right to change any part of the underlying compiled file mechanism. Since we are publ...

Email this morning from Satish Talim and a remi...

rubylearning.com 02 Oct '13, 8am

Our Book Promotion: “Head First Rails ” starts soon. Win one of four books to be given out for active participation. The c...

Ruby's Exception Hierarchy

blog.nicksieger.com 04 Oct '13, 2pm

Exception NoMemoryError ScriptError LoadError NotImplementedError SyntaxError SignalException Interrupt StandardError Argu...

#Ruby on #Rails: Deploy

rubyonrails.org 05 Oct '13, 12am

The easiest deployment setup for Rails is Phusion Passenger aka mod_rails. It's a module for nginx and Apache that automat...