-
Implementing read-only models with ActiveRecord
I’m wrapping up an app with some ActiveRecord models that are based on fixed data (i.e. data tables that are not created or managed by the Rails app.) This is actually a pretty useful way to access some types of external data in Rails, but problems cascade if/when you accidentally write to the supposedly r/o…
-
RVM or rbenv or ???
You’d miss all the interesting and informative discussion, but if you like, you can skip to the answer. Long story but I recently switched my primary Rails 3 development platform from Aptana Studio 3 to Sublime Text 2. And this is how it goes with Rails development… you want to change editors, and a key capability…