Pages tagged rails2_3:

Ruby on Rails 2.3 Release Notes
http://guides.rubyonrails.org/2_3_release_notes.html

session
Rails 2.3 delivers a variety of new and improved features, including pervasive Rack integration, refreshed support for Rails Engines, nested transactions for Active Record, dynamic and default scopes, unified rendering, more efficient routing, application templates, and quiet backtraces. This list covers the major upgrades, but doesn’t include every little bug fix and change. If you want to see everything, check out the list of commits in the main Rails repository on GitHub or review the CHANGELOG files for the individual Rails components.
Ryan's Scraps: What's New in Edge Rails: Nested Object Forms
http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge-rails-nested-attributes
We were all teased a few months ago about the possibility of finally solving the nested model/complex forms problem in Rails, but were then cruelly notified that it wasn’t quite ready for prime time. But our day has come – the most requested feature for Rails 2.3, the ability to handle multiple models in a single form, is here.
Scheduled for Rails 2.3
Create a Rails Template and Build an App in Seconds
http://www.youvegotrails.com/
Create a Rails Template and Build an App in Seconds
instant rails
templates for rails applications
Rail Spikes: 10 Cool Things in Rails 2.3
http://railspikes.com/2009/3/30/10-cool-things-in-rails-23
Tips for writing your own Rails engine — GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS
http://giantrobots.thoughtbot.com/2009/4/23/tips-for-writing-your-own-rails-engine
Some very good advice from Thoughtbot on constructing Rails Engines. I've started using their [Clearance](http://github.com/thoughtbot/clearance/tree/master) engine for user authentication.
from GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS
semantic art - ruby - Using default_scope to recreate acts_as_paranoid in ActiveRecord 2.3
http://blog.semanticart.com/using_default_scope_to_recreate_acts_as_paranoid
def self.find_with_destroyed *args self.with_exclusive_scope { find(*args) } end
Rails 2.3 gives us “default_scope” which was described by Ryan Daigle as allowing you to “specify default ordering, and other scopes, in edge rails directly in your ActiveRecord model.” Ryan’s post gives some good examples of when you might want to use this (specifically on models where you always want them sorted in a specific manner). In the comments of that post, Ryan Bates suggests that this might be useful for “simulating destroying a model (like acts_as_paranoid).” Indeed this is possible and the idea of using scoping to create this is both present in acts_as_paranoid itself and also has been brought up before. In this article I’m going to reinvent the wheel using default_scope to illustrate how powerful default_scope is and how trivial it makes this task. You can keep track of the finished product in my is_paranoid gem.