29 Mar '12, 1pm

Rails 3.0’s ActiveModel: How To Give Ruby Classes Some ActiveRecord Magic:

In extracting the model-building parts of ActiveRecord, ActiveModel makes it possible to add model-like behavior to any Ruby class, with no Rails or databases required. In his latest blog post, ActiveModel: Make Any Ruby Object Feel Like ActiveRecord , Yehuda shows off how to get Rails-style models with validations, serialization, callbacks, dirty tracking, internationalization, attributes, observers and all the other Rails goodness.

Full article: http://www.rubyinside.com/rails-3-0s-activemodel-how-to-g...

Tweets

Sam Ruby: Keeping it on the Rails

intertwingly.net 28 Mar '12, 9pm

The previous error that was caught was connection pool of new applications have size 1 . This demonstrates the unique valu...

Introducing Bloggy: A simple way to add a Jekyll blog to any Rails application

Introducing Bloggy: A simple way to add a Jekyl...

engineyard.com 31 Mar '12, 9pm

We have been working hard on making RVM rock-solid, and to prevent regressions while simultaneously fixing and improving i...

Oldie but I enjoy this post on Ruby's inject me...

blog.jayfields.com 28 Mar '12, 8pm

I find the inject solution less readable than something like: a = [1,2,3,4,5,6].map{|x| x.to_s if 0 == x % 2}.compact or a...

Ruby on Rails Guides: Rails Form helpers:

guides.rubyonrails.org 28 Mar '12, 5am

Forms in web applications are an essential interface for user input. However, form markup can quickly become tedious to wr...

Ruby Best Practices - Rails Modularity for Lazy...

blog.rubybestpractices.com 28 Mar '12, 4am

Rails Modularity for Lazy Bastards 2009-04-16 04:31, written by Gregory Brown When we develop standalone systems or work o...

Ruby on Railsで複合キーを扱う(7) -- 補遺

Ruby on Railsで複合キーを扱う(7) -- 補遺

oiax.jp 31 Mar '12, 3pm

date = Date.new(2010, 1, 1) %w(robot automobile ship).each do |code| Department.create!({ code: code, name: code.capitaliz...

omgbloglol - Improved validations in Rails 3:

omgbloglol.com 30 Mar '12, 8am

Improved validations in Rails 3 Quite sorry about not getting another post up sooner; I’ve been very busy lately with a fe...

“Capistrano 入門 - Ruby on Rails with OIAX”

“Capistrano 入門 - Ruby on Rails with OIAX”

oiax.jp 29 Mar '12, 12pm

Capistrano とは何か。それは、デプロイメントのツールである。 デプロイメントとは何か。Web アプリケーションについて言えば、それは以下のようなタスク全般を指す言葉である。 アプリケーションを本番サーバにインストールすること。あるいは...

[railscasts] Upgrading to Rails 3.2

railscasts.com 01 Apr '12, 9am

Rails 3.2 sports many new features including automatic explain queries, tagged logging, key-value store in Active Record, ...

Am I missing something or is this page laughabl...

guides.rubyonrails.org 01 Apr '12, 2am

The very first parameter, a string, is the text of the link which appears on the page. The second parameter, the options h...

Jeff Dean's Ruby Blog - Using MySQL foreign key...

pivotallabs.com 29 Mar '12, 11pm

module ForeignKeys def add_foreign_key(from_table, from_column, to_table, options = {}) to_column = options.fetch(:to_colu...

Browse Ruby on Rails documentation - APIdock:

apidock.com 03 Apr '12, 9am

ActionController::Routing::Optimisation::PositionalArgumentsWithAdditionalParams

@seoadvicess Most ORM-Tools have considerable w...

weblog.jamisbuck.org 28 Mar '12, 6am

ActiveRecord is cool and all, and it goes without saying that we all trust its judgment, but sometimes you just want to wa...

Ruby Forum - Rails I18n:

ruby-forum.com 05 Apr '12, 2am

Subject Author Replies Last post Rails 3.x, Ruby 1.9.x + HAML = Terror? Ramon Cahenzli 2 21 hrs ago by Ramon Cahenzli web ...

Rails 3.2.3.rc2 was released

weblog.rubyonrails.org 29 Mar '12, 4pm

Rails 3.2.3 introduced a new option that allows you to control the behavior of remote forms when it comes to authenticity_...