17 Feb '12, 7pm

@nzkoz Is this doc part of Rails? The save method doc is outdated. Need to pass :validate => false now.

Guesses the table name (in forced lower-case) based on the name of the class in the inheritance hierarchy descending directly from ActiveRecord::Base . So if the hierarchy looks like: Reply < Message < ActiveRecord::Base , then Message is used to guess the table name even when called on Reply. The rules used to do the guess are handled by the Inflector class in Active Support, which knows almost all common English inflections. You can add new inflections in config/initializers/inflections.rb. Nested classes are given table names prefixed by the singular form of the parent‘s table name. Enclosing modules are not considered. Examples class Invoice < ActiveRecord::Base; end; file class table_name invoice.rb Invoice invoices class Invoice < ActiveRecord::Base; class Lineitem < ActiveRecord::Base; end; end; file class table_name invoice.rb Invoice::Lineitem invoice_lineitems mo...

Full article: http://ar.rubyonrails.org/classes/ActiveRecord/Base.html

Tweets

Class: ActiveRecord::Observer:

api.rubyonrails.org 22 Feb '12, 4am

Observers will by default be mapped to the class with which they share a name. So CommentObserver will be tied to observin...

Wildcards in Rails redirects

robots.thoughtbot.com 15 Feb '12, 3pm

February 15, 2012 Tagged: Google Analytics customer acquisition rails kissmetrics yesterday i learned Comments (View) Wild...

The Rhythm Method

robots.thoughtbot.com 17 Feb '12, 10pm

February 17, 2012 Tagged: Trajectory Comments (View) The Rhythm Method One of our goals for Trajectory is to provide a gui...

Future Fuel Economy Mandates, Part II: Ford

Future Fuel Economy Mandates, Part II: Ford

green.autoblog.com 17 Feb '12, 5pm

My first conversation was with Mark Fields, president of Ford North America. "From a powertrain standpoint," he said, "we ...

Post-Doc Opportunity: Medical History in Early-...

KITLV has established a scholarship for the study of Early-Modern Southeast Asia (EMSA), which is roughly defined as the p...

Mailer Behaviour... Testing with Rails Console ...

ruby-forum.com 11 Feb '12, 9pm

Ok, even though I haven't gotten the Mailer behaviour to work on my site yet. I have some notes here that might help other...

How to save Greece from the technocrats | David Boyle

How to save Greece from the technocrats | David...

neweconomics.org 13 Feb '12, 6pm

Alternative currencies would help economic life for ordinary Greeks continue, even as austerity measures bite. Tweet A yea...

For Your Brewing Pleasure: Another Killer AeroPress Method

For Your Brewing Pleasure: Another Killer AeroP...

thecoffeeadventures.com 14 Feb '12, 6pm

This method here came from a reader of mine named Sam. Sam and I started talking through email about the AeroPress and wel...

SAKMONGKOL AK47: That Saturday with the Oracle(...

sakmongkol.blogspot.com 16 Feb '12, 12am

I think one commentator misread my article Another Saturday with The Oracle . He accused me of underestimating Bangsar Bal...

Don't forget! We've got a limited offering of our public Barista Class in NYC!

Don't forget! We've got a limited offering of o...

intelligentsiacoffee.com 18 Feb '12, 5pm

The Barista Training for the Espresso Enthusiast Class is Intelligentsia’s basic barista training course open to the publi...

git-rails – Tools for using git with #Ruby on #...

nanorails.com 13 Feb '12, 3am

git-rails – Tools for using git with Ruby on Rails by Pascal on February 5, 2008 in git-rails Git-Rails git-rails is a sim...

How To Get #Rails 3 and #RSpec 2 Running Specs Fast (From Scratch)

How To Get #Rails 3 and #RSpec 2 Running Specs ...

rubyinside.com 11 Feb '12, 12pm

@Mike: Just to clear the air, I hadn't seen your post (or even your blog, till now) and, unusually, didn't refer to or che...