Commits

Show all
Author Commit Message Labels Comments Date
David Heinemeier Hansson
Releasing Rails 0.9.2
David Heinemeier Hansson
Added scope option to validation_uniqueness #349 [Kent Sibilev]
David Heinemeier Hansson
Added allow_nil options to validates_inclusion_of so that validation is only triggered if the attribute is not nil [what-a-day]
David Heinemeier Hansson
Added work-around for PostgreSQL and the problem of getting fixtures to be created from id 1 on each test case. This only works for auto-incrementing primary keys called "id" for now #359 [Scott Baron]
David Heinemeier Hansson
Fixed UrlHelper#link_to_unless so it doesn't care if the id is a string or fixnum [zenspider]
David Heinemeier Hansson
You should redirect externally on the default action
David Heinemeier Hansson
Forgot to include the new session module
David Heinemeier Hansson
Fixed mixin test and fixtures to work with postgresql #353 [Scott Baron]
David Heinemeier Hansson
Added Base#clear_association_cache to empty all the cached associations #347 [Tobias Luetke]
David Heinemeier Hansson
Added search through session to clear out association caches at the end of each request. This makes it possible to place Active Record objects in the session without worrying about stale data in the associations (the main object is still subject to caching, naturally) #347 [Tobias Luetke]
David Heinemeier Hansson
Added more informative exception when using helper :some_helper and the helper requires another file that fails, you'll get an error message tells you what file actually failed to load, rather than falling back on assuming it was the helper file itself #346 [dblack]
David Heinemeier Hansson
Added more informative exceptions in establish_connection #356 [bitsweat]
David Heinemeier Hansson
Fixed that options[:counter_sql] was overwritten with interpolated sql rather than original sql #355 [bitsweat]
David Heinemeier Hansson
Fixed that overriding an attribute's accessor would be disregarded by add_on_empty and add_on_boundary_breaking because they simply used the attributes[] hash instead of checking for @base.respond_to?(attr.to_s). [Marten]
David Heinemeier Hansson
Fixed CTRL-C exists from the Breakpointer to be a clean affair without error dumping [Kent Sibilev]
David Heinemeier Hansson
Fixed "rake stats" to work with sub-directories in models and controllers and to report the code to test ration [Scott Baron]
David Heinemeier Hansson
Fixed that Base.table_name would expect a parameter when used in has_and_belongs_to_many joins [Anna Lissa Cruz]
David Heinemeier Hansson
The dispatcher should reload the associations AFTER clearing the inheritable variables, not before, or callbacks and others wont work
David Heinemeier Hansson
Fixed that nested transactions now work by letting the outer most transaction have the responsibilty of starting and rolling back the transaction. If any of the inner transactions swallow the exception raised, though, the transaction will not be rolled back. So always let the transaction bubble up even when you've dealt with local issues. Closes #231 and #340.
David Heinemeier Hansson
Fixed validates_{confirmation,acceptance}_of to only happen when the virtual attributes are not nil #348 [dpiddy@gmail.com]
David Heinemeier Hansson
Added acts instead of mixins
David Heinemeier Hansson
Fixed regression with Base#reset_session that wouldn't use the the DEFAULT_SESSION_OPTIONS [adam@the-kramers.net]
David Heinemeier Hansson
Fixed error rendering of rxml documents to not just swallow the exception and return 0 (still not guessing the right line, but hey)
David Heinemeier Hansson
Deal with associated classes that doesnt reside in their own files
David Heinemeier Hansson
Checked in the proper version of const_missing
David Heinemeier Hansson
Forgot a "or" in Inflector
David Heinemeier Hansson
Switched strategy on the id_before_type_cast problem and just did an explicit method so postgresql wouldnt choke on id is null
David Heinemeier Hansson
Added a require_association hook on const_missing that makes it possible to use any model class without requiring it first. Added that Active Record associations are now reloaded instead of cleared to work with the new const_missing hook in Active Record.
David Heinemeier Hansson
Pulling attributes_from_column_definition should set the primary id to nil instead of not at all
David Heinemeier Hansson
Scrap that
  1. Prev
  2. Next