Author Archive

What’s New in Edge Rails: Skinny on Scopes

February 26, 2010
By ryan at Ryan's Scraps - Blog
What’s New in Edge Rails: Skinny on Scopes

I go into a detailed explanation of using ActiveRecord scopes in Rails 3 over on EdgeRails.info.I won’t be cross-posting for too much long, so update your feed to the new EdgeRails feed to keep abreast of the latest and greatest! ...
Read more »

Posted in Publishers, Ryan's Scraps - Blog | View Comments

‘What’s New in Edge Rails’ Moves to EdgeRails.info

February 8, 2010
By ryan at Ryan's Scraps - Blog
‘What’s New in Edge Rails’ Moves to EdgeRails.info

For awhile I’ve wanted to move the “What’s New in Edge Rails” series to its own site to reflect the fact that it is an independent and self-sustaining series and not some small figment of my mind anymore. I started writing...
Read more »

Posted in Publishers, Ryan's Scraps - Blog | View Comments

What’s New in Edge Rails: Set Flash in redirect_to

December 20, 2009
By ryan at Ryan's Scraps - Blog
What’s New in Edge Rails: Set Flash in redirect_to

This feature is schedule for: Rails v2.3 stableRails’ flash is a convenient way of passing objects (though mostly used for message strings) across http redirects. In fact, every time you set a flash parameter the very next step is ...
Read more »

Posted in Publishers, Ryan's Scraps - Blog | View Comments

What’s New in Edge Rails: Independent Model Validators

August 10, 2009
By ryan at Ryan's Scraps - Blog
What’s New in Edge Rails: Independent Model Validators

This feature is schedule for: Rails v3.0ActiveRecord validations, ground zero for anybody learning about Rails, got a lil’ bit of decoupling mojo today with the introduction of validator classes. Until today, the only options you h...
Read more »

Posted in Publishers, Ryan's Scraps - Blog | View Comments

What’s New in Edge Rails: Default RESTful Rendering

August 10, 2009
By ryan at Ryan's Scraps - Blog
What’s New in Edge Rails: Default RESTful Rendering

This feature is schedule for: Rails v3.0A few days ago I wrote about the new respond_with functionality of Rails 3. It’s basically a clean way to specify the resource to send back in response to a RESTful request. This works...
Read more »

Posted in Publishers, Ryan's Scraps - Blog | View Comments

What’s New in Edge Rails: Cleaner RESTful Controllers w/ respond_with

August 5, 2009
By ryan at Ryan's Scraps - Blog
What’s New in Edge Rails: Cleaner RESTful Controllers w/ respond_with

This feature is schedule for: Rails v3.0REST is a first-class citizen in the Rails world, though most of the hard work is done at the routing level. The controller stack has some niceties revolving around mime type handling with the ...
Read more »

Posted in Publishers, Ryan's Scraps - Blog | View Comments

Rubyists, Learn Some iPhone Skillz

June 1, 2009
By ryan at Ryan's Scraps - Blog
Rubyists, Learn Some iPhone Skillz

If any of you Rubyists are going to be attending the FutureRuby in Toronto this July and have an interest in learning how to work some magic on the iPhone, I encourage you to check out Mobile Orchard’s Dan Grigsby and his...
Read more »

Posted in Publishers, Ryan's Scraps - Blog | View Comments

What’s New in Edge Rails: Database Seeding

May 13, 2009
By ryan at Ryan's Scraps - Blog
What’s New in Edge Rails: Database Seeding

This feature is schedule for: Rails v3.0I’m not sure if this was ever stated explicitly has a preferred practice or not, but for the longest time many of us have recognized that using migrations as a way to populate the database wit...
Read more »

Posted in Publishers, Ryan's Scraps - Blog | View Comments

What’s New in Edge Rails: Touching

April 20, 2009
By ryan at Ryan's Scraps - Blog
What’s New in Edge Rails: Touching

This feature was released in Rails v2.3.3There are often times when you want an update made to one object to be reflected up the object graph as an update of an associated parent object. For instance, if a new comment is...
Read more »

Posted in Publishers, Ryan's Scraps - Blog | View Comments

What’s New in Edge Rails: Batched Find

February 23, 2009
By ryan at Ryan's Scraps - Blog
What’s New in Edge Rails: Batched Find

This feature is scheduled for: Rails v2.3ActiveRecord got a little batch-help today with the addition of ActiveRecord::Base#find_each and ActiveRecord::Base#find_in_batches. The former lets you iterate over all the records in cursor-...
Read more »

Posted in Publishers, Ryan's Scraps - Blog | View Comments