February 27, 2006 18:49
Posted by Jeremy Durham
Rails and ADC
Props to ADC to do an article about Rails that includes screenshots of Textmate!
And straight from their conclusion:
“Ruby on Rails is a highly-productive and industrial-strength web application framework. It scales from the simplest expense tracking application we built to full-featured applications with respectable numbers of users. As with any useful tool, it’s not suited to handle every job, but it’s a great complement to your Mac OS X development environment.”
Read more about it…









1 Comments
March 22, 2012
You can make private acocssers by putting the attr_ helper inside the private section of the class:#!/usr/bin/ruby1.8class Foo def set_baz self.baz = 2 end def show_baz puts baz = #{baz} end private attr_accessor :bazendfoo = Foo.newfoo.set_bazfoo.show_baz # prints ‘2 p foo.baz # Fails: private method baz’ called
Leave a comment