Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: rails/rails
head fork: rails/rails
This comparison is big! We're only showing the most recent 250 commits
Commits on Mar 17, 2010
Mathias Biilmann Christensen Fix for missing dependency in ActionDispatch::Integration
When running cucumber features from a new rails 3 app requiring
'cucumber/rails/world' would raise:

uninitialized constant ActionDispatch::Integration::Session::Test (NameError)

Fixed by requiring 'test/unit/assertions' in action_dispatch/integration

Signed-off-by: Jeremy Kemper <>
Commits on Mar 18, 2010
Carlhuda Get modules back into integration tests 0e15f07
Mathias Biilmann Christensen Deleting and setting a cookie in the same request was broken
Made sure to remove a cookie from @deleted_cookies when set

[#4211 state:committed]

Signed-off-by: Jeremy Kemper <>
Jeremy Kemper jeremy Kill nonexistent method removal db9e67a
Jeremy Kemper jeremy Fix broken test due to constant collision fe2f383
Jeremy Kemper jeremy Use Array.wrap not Array() 41af6d9
José Valim josevalim Sending the partial as info is no longer required. 191a2f7
Aaron Patterson tenderlove squelching more warnings in the AR tests. [#4218 state:resolved]
Signed-off-by: wycats <>
Martin Gamsjaeger snusnu AS datetime conversions now require AS time conversions d164d86
Carlhuda Fix an error in isolated running of tests 9da153c
Sebastian Martinez smartinez87 added require abstract_unit on setter_trap.rb
Signed-off-by: wycats <>
Carlhuda While isolated tests are useful, they take far too long to run for us…
… to be getting useful information from CI. Perhaps another box that runs the isolated tests every 3 hours (instead of per commit)
Sebastian Martinez smartinez87 Fixed require line
Signed-off-by: wycats <>
Yehuda Katz wycats Merge branch 'master' of 014bd4b
Aaron Patterson tenderlove kill where / having method redefine warnings. [#4225 state:resolved]
Signed-off-by: wycats <>
Carlhuda @layout is a confusing name... use @cache_layout 3deb60e
Carlhuda Make action_has_layout? non-private d8c7efe
Carlhuda Remove caching's dependency on view_context. Also, make it so that th…
…e layout is always rendered the same way (so that layout dependencies on the action actually being rendered aren't masked on the first render)
Carlhuda All tests pass without memoizing view_context 71c9337
Carlhuda Make render :partial, :layout consistent between AC and AV edb5991
Commits on Mar 19, 2010
Carlhuda Return a valid Rack response from bare ActionController::Metal 1dacc19
Santiago Pastorino and Sebastian Martinez Added missing requires abstract_unit and activesupport to the loadpat…
…h of ts_isolated [#4215 state:committed]

Signed-off-by: wycats <>
Santiago Pastorino and Sebastian Martinez Make dependencies_test pass running standalone [#4215 state:resolved]
Signed-off-by: wycats <>
Santiago Pastorino spastorino remove duplicated self.view_paths assingment on controller tests [#4206
… state:commited]

Signed-off-by: wycats <>
Carlhuda Each controller class has it's own view context subclass. This remove…
…s the need for ActionView::Base.for_controller
Yehuda Katz wycats We seem to have removed the URL helpers from ActionView subclasses... 995f570
Yehuda Katz wycats Well that was a bust 0aa0c37
Sebastian Martinez smartinez87 removed useless require line
Signed-off-by: José Valim <>
José Valim josevalim Singleton classes returns parent's methods with instance_methods(fals…
…e) and this makes remove_method in Module#delegate fail. Add a test case and fix the bug.
Xavier Noria fxn cleans a bit #compute_public_path
[#4232 state:committed]

Signed-off-by: Jeremy Kemper <>
José Valim josevalim Improve performance of the rendering stack by freezing formats as a s…
…ign that they shouldn't be further modified.
José Valim josevalim Merge branch 'master' of gitproxy:rails/rails ae499b5
Aaron Patterson tenderlove switching migrations to use require cleans up many warnings [#4234 st…

Signed-off-by: wycats <>
José Valim josevalim Controller generator now creates routes as well [#4233 state:resolved] 562154f
Carlhuda Fix protect_against_forgery 7f53dca
Yehuda Katz wycats Eliminate an error from an implicit dependency on AV::Base 9f92563
Xavier Noria fxn s/ in a few places, and …
…makes some links relative to work in either site
Xavier Noria fxn normalizes titles of release notes guides, and adds them to the home …
José Valim josevalim Clean up Mime::Type and remove deprecated stuff (from 2.3). 525382f
Sam Ruby rubys Controller generators should generate tests when action is supplied. [#…
…3421 state:resolved]
Commits on Mar 20, 2010
Yehuda Katz wycats Fixed a bunch of tests that failed in 1.9 because they assumed that a…
… Rack response was a String.
Yehuda Katz wycats response_body is an Array in 1.9, so an Array was being pushed onto t…
…he cache
Joshua Peek josh Move railties/builtin into lib f38e89c
Joshua Peek josh Require info controller from info routes 14b7452
Joshua Peek josh Autoload Rails::Info fcc6b12
Joshua Peek josh Remove invalid builtin tests since we aren't adding that dir to the
load path anymore
Commits on Mar 21, 2010
José Valim josevalim Make ERB generators more flexible and customizable. 8b50f89
Sebastian Martinez smartinez87 do not support 'data-url' anymore, just use 'href' [#4236 state:resol…

Signed-off-by: José Valim <>
Denis Odorcic odorcicd Remove data-url support from url_helper [#4236 state:resolved]
Signed-off-by: José Valim <>
Jeremy Kemper jeremy Fix regression introduced in 8b50f89. Generated views mentioned the w…
…rong path.
Jeremy Kemper jeremy Also revert mailer generator test changes in 8b50f89 4884f28
Commits on Mar 22, 2010
Santiago Pastorino spastorino avoid active_support/core_ext/time/conversions.rb warnings
[#4250 state:committed]

Signed-off-by: Jeremy Kemper <>
Santiago Pastorino spastorino db group makes more sense here 3bd85e2
Evan Phoenix Remove test ordering bug by using another class 34497c0
Evan Phoenix Fix ActionMailer test issues
* Don't depend so much no the message in a NameError
* Reset the delivery method properly
Evan Phoenix Don't depend on order of elements in Set a307fd6
Evan Phoenix Remove obsolete use case that was broken in AR::Observers 79b0861
Evan Phoenix Clear the query cache between tests that test the query cache 0b608ab
Evan Phoenix Remove test ordering bug
Don't reuse classes with class attributes when testing different use cases
of class attributes.
Evan Phoenix Reset class attribute after changing it 4f5de7f
Emilio Tagua miloops From and lock should be defined to be consistent with other ivars. Li…
…mit and offset are always defined, no need to test that.

[#4253 state:committed]

Signed-off-by: Jeremy Kemper <>
José Valim josevalim Killing fixtures in mailer before they kill me (they usually lead to …
…very brittle tests).
José Valim josevalim Make router shortcuts more polite to URLs starting with a leading slash. 4998e09
José Valim josevalim Controller generators should use routes shortcut. e8a80cd
Bernardo de Pádua bernardo Adds number_to_human and several improvements in NumberHelper. [#4239

Signed-off-by: José Valim <>
Bernardo de Pádua bernardo NumberHelper methods should now return html_safe strings (when the in…
…puts are valid numbers or are html_safe). Also adds :raise => true (used internaly) to make the number helpers throw InvalidNumberError when the given number is invalid.

Signed-off-by: José Valim <>
Yehuda Katz wycats Provide a better error if thor is missing d03af48
Yehuda Katz wycats No -rubygems needed 0b16c76
José Valim josevalim Current url helpers become actions in controller. Added a failing tes…
…t case for it.
Xavier Noria fxn AS guide: documents Module#remove_possible_method 926ff0e
José Valim josevalim Rename unsignificant to insignificant. c53f77f
José Valim josevalim Merge branch 'master' of gitproxy:rails/rails 1f93a46
Commits on Mar 23, 2010
Yehuda Katz wycats open_session can just return the a dup of the current context.
At this point, its entire purpose in the open_session {} case was to
delegate back to the IntegrationTest anyway.
Yehuda Katz wycats Put MRI-specific dependencies in an MRI group b144b56
José Valim josevalim Load generators from both lib/rails/generators and lib/generators. Us…
…ing the former since it's less obstrusive.
José Valim josevalim bin/rails should use the new app generator path. 05ec99e
Sebastian Martinez smartinez87 rake tasks should use the new app generator path [#4257 state:resolved]
Signed-off-by: José Valim <>
Sebastian Martinez smartinez87 updated Rakefile with new app generator path [#4258 state:resolved]
Signed-off-by: José Valim <>
José Valim josevalim Explicitly require files before monkey patching them. b9f551a
Joshua Peek josh Load plugin initializers from lib/rails/initializers/*.rb e47a1d7
Yehuda Katz wycats Protect routes again so they don't end up as actions. We need a bette…
…r solution than this.
José Valim josevalim Ensure lib/rails/initializers/*.rb also works for gems. 5c41cb7
José Valim josevalim Use latest I18n (0.3.6). b92963f
Yehuda Katz wycats init.rb in plugins is here to stay 45e8cf5
Commits on Mar 24, 2010
Aaron Patterson tenderlove do not use unloadable constants in tests [#4260 state:resolved]
Signed-off-by: wycats <>
Aaron Patterson tenderlove expand migration paths before requiring them. [#4240 state:resolved]
Signed-off-by: wycats <>
Brian Doll briandoll Fixing spelling error in activerecord guide in the validation callbac…
…ks section, closing issue #2
Rizwan Reza rizwanreza Routes guide being rewritten, done till :singular. 94381b2
Commits on Mar 25, 2010
Emilio Tagua miloops Add add_limit_offset! to adapters. e3a2fae
Emilio Tagua miloops Require Arel 0.3.2 e260d5f
Emilio Tagua miloops Refactor relation merging to create just one relation and then assign…
… values, instead of creating multiple relation objects.
John Dewey retr0h Updated ActionController::Base.asset_host example
The example provided contrived.  It is not useful when wanting to use
1-based asset hosts (since it would generate a random asset host for
the same asset).

Signed-off-by: Rizwan Reza <>
Emilio Tagua miloops Move methods from association to relation finder methods. fc2e257
Emilio Tagua miloops Remove unused attributes_with_quotes method. d06a754
Jeremy Kemper jeremy Bump to arel 0.3.3 to resolve Active Support dep a8b93d7
José Valim josevalim Remove Arel's git repo from Gemfile and use system_timer just on 1.8.x 99ce6eb
José Valim josevalim Actually, bring Arel back to Gemfile and use git repo since it helps …
Commits on Mar 26, 2010
José Valim josevalim Remove reference to unexistent methods and fix typo. 4c7c406
Jeremy Roman jeremyroman fix habtm documentation to correct typo
Signed-off-by: Rizwan Reza <>
chrisfinne chrisfinne Add debugging documentation for _callback_chain to ActiveRecord::Call…

Signed-off-by: Rizwan Reza <>
Josh Franklin Add support for a type=binary with an optional encoding=base64. If th…
…e encoding attribute is absent, the data is considered unencoded.

[#2966 state:resolved]
José Valim josevalim Ensure to reference the proper TZInfo namespace [#4268 state:resolved]. 5231e4e
Rizwan Reza rizwanreza Better MySQL Error message. [#3775 state:resolved]
Signed-off-by: José Valim <>
Josh Susser joshsusser find railties and engines by name [4264 state:resolved]
Signed-off-by: José Valim <>
José Valim josevalim Improve heuristic for railties default name, otherwise railties may b…
…e named :railtie, :engine and so on.
José Valim josevalim Rails router automatically calculated for you the controller and name…
…d routes in the following scenarios:

  match "home/about"                 #=> maps to home#about with named route home_about_path
  match "about"                      #=> does not work because it cannot guess the controller
  match "about" => "home#about"      #=> maps to home#about with named route home_about_path
  match "home/about", :as => "about" #=> maps to home#about with named route about_path
Edgars Beigarts Make script/dbconsole work with oracle (sqlplus <username>[/<password…

[#3773 state:resolved]
José Valim josevalim Revert "find railties and engines by name [4264 state:resolved]"
This reverts commit 7b8399b.
José Valim josevalim Move application configuration to the application configuration objec…
…t, remove railtie_name and engine_name and allow to set the configuration object.
José Valim josevalim Just assert for 'Hi' in generated mailer tests. b3a0aed
Yehuda Katz wycats Merge branch 'master' into docrails 1979043
Yehuda Katz wycats Make X-Sendfile default to "" so it works correctly in dev mode.
Provide a default in production.rb that can be modified, so that
people who care about sendfile performance in production mode can
get better performance easily.
Commits on Mar 27, 2010
Kris Selden krisselden In PostgreSQLAdapter, switch tables query to use current_schemas func…
…tion [#918 state:resolved]

Signed-off-by: wycats <>
Yehuda Katz wycats Fixes typo (ht: Claudio Poli) [#4107 state:closed] b20a105
Andrew White pixeltrix Add parameter defaults support to new routing DSL [#4265 state:resolved]
Signed-off-by: wycats <>
Rizwan Reza rizwanreza Tests method_missing to raise NameError. [#2522 state:resolved]
Signed-off-by: wycats <>
Nathaniel Bibler nbibler Changed behavior of touch and added touch! Originally implemented by …
…Obie Fernandez, updated touch! to act as a thin wrapper to touch. [#2520 state:resolved]

Signed-off-by: wycats <>
Andrew White pixeltrix Fix named routes for member actions of singleton resources [#4266 sta…

Signed-off-by: wycats <>
Yehuda Katz wycats Fix a mistake in the documentation (ht: Evgeniy Dolzhenko) [#4217 sta…
Sam Elliott and Ryan Bigg Use ActiveSupport::Autoload for view helpers. [#4237 state:resolved]
Signed-off-by: wycats <>
Pratik lifo Revert "Changed behavior of touch and added touch! Originally impleme…
…nted by Obie Fernandez, updated touch! to act as a thin wrapper to touch. [#2520 state:resolved]"

This reverts commit 3a875e6.
Rizwan Reza rizwanreza primary_key now supports :limit. [#876 state:resolved]
Signed-off-by: wycats <>
Gaël Deest gaeldeest Makes ActiveResource work with form_for: - Adds a `build' method that…
… can be used instead of `new' to load a new, unsaved resource from the remote site, filled with the correct default values. - Adds a `persisted?' method that simply returns the opposite value than the `new?' method. [#4222 state:resolved] [#4155 state:resolved]

Signed-off-by: wycats <>
Aaron Patterson tenderlove avoiding a few closure references by evaling. [#4223 state:resolved]
Signed-off-by: wycats <>
Daniel Rodríguez Troitiño drodriguez Recovers error_messages for ActiveRecordInstanceTag. [#4078 state:res…

Signed-off-by: wycats <>
RipTheJacker RipTheJacker fixing inconsistency with cattr_reader and matter_reader [#4172 state…

Signed-off-by: wycats <>
José Valim josevalim Do not check for a valid const name in Rails 3.0 applications. [#4200
Jacob Atzen jacobat ActiveModel::Dirty#changes should return a HashWithIndifferentAccess [#…
…4157 state:resolved]

Keep the Rails style of inject

Signed-off-by: José Valim <>
Yehuda Katz wycats Limit Array#extract_options! to directl instances of Hash and HWIA. A…
…dd extractable_options? to Hash so that subclasses of Hash can opt-into extractable behavior. This fixes an issue where respond_with wasn't working with subclasses of Hash that were provided by other libraries (such as CouchDB or Mashie) [#4145 state:resolved]
José Valim josevalim Fix tests added in previous commit. f1da717
José Valim josevalim Revert "primary_key now supports :limit. [#876 state:resolved]" since…
… it broke AR test suite.

This reverts commit 41e5c7e.
José Valim josevalim Merge branch 'master' of gitproxy:rails/rails 418e5fc
Yehuda Katz wycats Fixes a bug where error_messages_for was returning an empty div [#4048
…state:resolved] (ht: Geoff Garside)
Rizwan Reza rizwanreza primary_key now supports :limit for MySQL
Signed-off-by: wycats <>
Yehuda Katz wycats Use the new RAILS_VERSION in rake install (ht: ZhangJinzhu) [#4116 st…
Yehuda Katz wycats Don't write to /dev/null on mingw. [#3921 state:resolved] (ht: Patric…
…k Daryll Glandien)
Yehuda Katz wycats Remove stray instance variable to resolve serialization problem [#3769
…state:resolved] (ht: Joe Rafaniello)
José Valim josevalim Do not need to load ActionPack::VERSION 46b7704
José Valim josevalim Revert "primary_key now supports :limit for MySQL". Break Sam Ruby app.
To reproduce, start a new application, create a scaffold and run test suite. [#876 state:open]

This reverts commit faeca69.
Santiago Pastorino spastorino flatten not needed here
Signed-off-by: José Valim <>
Santiago Pastorino spastorino LINE on class_eval need + 1, also removed comments [#4281 state:commi…

Signed-off-by: José Valim <>
Santiago Pastorino spastorino Ruby's marshaling of Time instances doesn't respect the zone [#4282 s…

Signed-off-by: José Valim <>
Jeremy Kemper jeremy Fix unstated dep on HWIA c3cea9b
Jeremy Kemper jeremy Use Array.wrap uniformly a98db7c
Jeremy Kemper jeremy Bust gem prelude to ensure bundler's in the load path. Not sure what'…
…s broken here.
Yehuda Katz wycats Actually check the value of the ivar 4b9f167
Yehuda Katz wycats Missing require fdebc7f
José Valim josevalim Ensure details are frozen after @details_keys lookup. The implementat…
…ion waits to freeze until the last required moment, to avoid duping hashes.
Commits on Mar 28, 2010
Joel Watson watsonian Fixes typo in environments/production.rb template. edd59b7
José Valim josevalim Time zone tests were right all along. 8398f21
Mikel Lindsaar mikel Merge branch 'master' of git:// 2bcc2eb
Mikel Lindsaar mikel Fixing test, ; is a delimiter, not a termination character, ref RFC 2045 63002ba
Mikel Lindsaar mikel Updating test, should be calling :decoded, not :encoded, is a problem…
… now that Mail is fixed
Mikel Lindsaar mikel Mail now correctly bundles up the charset into the content type field b91c57d
Mikel Lindsaar mikel Fixing up attachment encoding specs to work with latest mail - and be…
… correct
Mikel Lindsaar mikel Updating mail version requirement to 2.1.5 53bcd4a
Rizwan Reza rizwanreza When creating database with rake, create schemas in schema_search_pat…
…h if it doesn't exist.
Rizwan Reza rizwanreza Oops, a docfix. 66d57d7
Rizwan Reza rizwanreza Rails 3 application can run performance tests now. [#4171 state:resol…
Xavier Noria fxn adds a few requires in active_model/dirty.rb
[#4284 state:committed]
Xavier Noria fxn adds missing requires for Object#duplicable? 105f9b8
Xavier Noria fxn adds missing requires for Object#blank? and Object#present? 76f024a
Rizwan Reza rizwanreza Add :dependent = to has_one and has_many [#3075 state:resolved] f1e5a9f
Yehuda Katz wycats Merge remote branch 'rizwan/restrict' c99194c
Jeremy Kemper jeremy Cosmetics: mismatch indentation d1f3437
Jeremy Kemper jeremy Merge branch 'master' of 7e3b4c1
Jeremy Kemper jeremy Merge remote branch 'mikel/master' 154f9ce
Jeremy Kemper jeremy Bump mail dep to 5c05829
Andrew White pixeltrix Add constraints to resources in new routing DSL
Signed-off-by: Rizwan Reza <>
Yehuda Katz wycats Request#content_type exists in Rack::Request, and other parts of Rack…
…::Request expect

it to return a String. Split the Rails API so that Request#content_type returns
a String, and Request#content_mime_type returns a Mime::Type object.
Matthew Rudy Jacobs matthewrudy defining a named_scope which overwrites an existing method is now all…
…owed we just log a warning.

This was motivated by the fact that :open is defined on all classes
as such the named_scope "open" can never be used, without hacking
ActiveRecord with an "undef_method" [#4083 state:resolved]

Signed-off-by: wycats <>
Vladimir Andrijevik vandrijevik Drop expires argument from call to @data in MemCacheStore so it works…
… with memcache-client and memcached gems, as advertised [#3672 state:resolved]

Signed-off-by: wycats <>
Yehuda Katz wycats Why are we not updating bundler? 1b9777e
Commits on Mar 29, 2010
Andrew White pixeltrix Add ActionDispatch to RDoc task [#4287 state:resolved]
Signed-off-by: wycats <>
Paco Guzmán pacoguzman html_tag option to wrap error_message_on text [#4283 state:resolved]
Signed-off-by: wycats <>
Rizwan Reza rizwanreza Reapply Rizwan's patch, but memoize Bundler.load.specs in an ivar. [#…
…3697 state:resolved]

Signed-off-by: wycats <>
Eugene Pimenov libc PostgreSQL adapter: escape_bytea, quote_string and unescape_bytea are…
…n't thread-safe in Ruby 1.8 [#3237 state:resolved]

Signed-off-by: wycats <>
Jeremy Kemper jeremy ./tools/console to drop into irb with rails loaded 4b07352
Jan De Poorter DefV Add _index to named collection routes for uncountable resources (e.g.…
… Sheep)

Signed-off-by: Rizwan Reza <>
Rizwan Reza rizwanreza Add more tests and docs to uncountable routes. [#3930 state:resolved] cf6734f
Craig R Webster craigw Allow customisation of asset path generation using a proc.
Set config.action_controller.asset_path_template to a proc that takes one
argument - the direct, unchanged asset path - and returns a path to that asset
using the scheme that your assets require.

This is useful if you have a setup which scales by introducing new application
servers where the mtime of the asset files may not be the same as those of the
asset files on your previous servers, but it does require your web servers to
have knowledge of the asset template paths that you rewrite to so it's not
suitable for out-of-the-box use. An example of configuring asset path
generation and rewriting these paths using Apache is included in

Signed-off-by: wycats <>
Yehuda Katz wycats Updated asset_template_path to asset_path and have it also support a …
…String [#4247 state:resolved]
Yehuda Katz wycats preinitializer.rb is no longer needed, so remove it from the guide an…
…d replace with better suggestion. [#4279 state:resolved]
David Heinemeier Hansson dhh Update example of default_scope to use the new arel finder syntax a4eab8f
Santiago Pastorino spastorino ruby-debug19 added to Gemfile [#4290 state:committed]
Signed-off-by: wycats <>
Aaron Patterson tenderlove use the database to lower case strings rather than ruby. [#4293 state…

Signed-off-by: wycats <>
Rizwan Reza rizwanreza Reorganized app/test directory. [#3057 state:resolved]
Run 'rake update:test_directory' to reorganize your already generated apps.

test/functional                   ->      test/controllers
test/functional                   ->      test/controllers
test/unit/helpers                 ->      test/helpers
test/unit/**/*_observer_test.rb   ->      test/observers
test/unit                         ->      test/models
Rizwan Reza rizwanreza Update USAGE docs for generators. d31e03f
Andrew White pixeltrix Make Railties RDoc task work again [#4291 state:resolved]
Signed-off-by: wycats <>
Andrew White pixeltrix Ignore generated railties RDocs [#4289 state:resolved]
Signed-off-by: wycats <>
Jeremy Kemper jeremy Ruby 1.9.2: marshaling round-trips Time#zone 41e7c68
Yehuda Katz wycats Provide a better error if the parsed REXML document has no root [#3803
Andrew White pixeltrix Add the ability to specify table_name_prefix on individual modules
Signed-off-by: wycats <>
Yehuda Katz wycats Rename modularized_table_name_prefix to full_table_name_prefix [#4032
Emilio Tagua miloops Warn scoped order and limit are ignored. [#4123 state:resolved] 53ddbfc
Jeremy Kemper jeremy Bump mail to 0d6f97e
Emilio Tagua miloops Arel now handles ranges with excluded end. 7006aa1
Jeremy Kemper jeremy Merge remote branch 'miloops/master' 4072adf
Jeremy Kemper jeremy Add missed changelog for table_name_prefix 36a5e78
Jeremy Kemper jeremy ruby-debug19 doesn't install cleanly on 1.9.2 trunk 94ced08
José Valim josevalim Revert "Reorganized app/test directory. [#3057 state:resolved]"
This reverts commit a0dc675.
José Valim josevalim Revert "Update USAGE docs for generators."
This reverts commit d31e03f.
Jeremy Kemper jeremy Ruby 1.9: use ruby-debug19. [#3949 state:resolved] da238da
Yehuda Katz wycats Revert "Ruby 1.9: use ruby-debug19. [#3949 state:resolved]"
This wasn't the issue here; we need to beef up the docs and speak to
Wayne and Mark about installation.

This reverts commit da238da.
Ernie Miller ernie Fix honoring :primary_key option when joining or eager loading a belo…
…ngs_to association

[#765 state:committed]

Signed-off-by: Jeremy Kemper <>
Jeremy Kemper jeremy Revert "Hash#symbolize_keys(!) optimizations"
Was slower in common case.

[#3891 state:open]

This reverts commit 2060977.
Jeremy Kemper jeremy Work without bundler af8852d
Jeremy Kemper jeremy Ruby 1.9: use ruby-debug19. [#3949 state:resolved] 4fbcde4
Yehuda Katz wycats Revert "Ruby 1.9: use ruby-debug19. [#3949 state:resolved]"
This wasn't the issue here; we need to beef up the docs and speak to
Wayne and Mark about installation.

This reverts commit da238da.
José Valim josevalim Fix dom_id for ActiveRecord [#4296 state:resolved] 56bed51
José Valim josevalim Just inspect load paths to generate the documentation. 331327d
Commits on Mar 30, 2010
Yehuda Katz wycats Replace the placeholder base_hook API with on_load. To specify some c…
…ode that

should run during framework load do:

ActiveSupport.on_load(:action_controller) do
  # Code run in the context of AC::Base
Michael Koziarski NZKoz Fix syntax error and avoid the use of unless/else. bc29815
Postmodern postmodern Changed gem_path to yield the path found in $LOAD_PATH to a block.
* This allows gems not found in $LOAD_PATH to be safely ignored by the
  rails documentation task.

Signed-off-by: José Valim <>
José Valim josevalim Remove if/else branch when generating the documentation since we are …
…simply inspecting the load path.
Xavier Noria periods are not metacharacters within character classes ce3864a
José Valim josevalim Remove deprecated model_subclass since it was never published. ffcd441
José Valim josevalim Bring rdoc tasks back to plugins. 41b45d5
Emilio Tagua miloops Named scopes shouldn't test equality using to_a if it's not an Array,…
… this was causing records to be loaded before they were needed.

Signed-off-by: José Valim <>
Emilio Tagua miloops Fix failing test in MySQL.
Signed-off-by: José Valim <>
Joshua Peek josh Fix stack overflow bug in integration test router helpers 17f0c1e
Joshua Peek josh Consistent routing language cdf8c35
Joshua Peek josh Missed a few spots in railties 53e16d8
José Valim josevalim Add a test which ensures slugs in :id work. 772a022
Juanjo Bazán xuanxu new assertion: assert_blank
Signed-off-by: Xavier Noria <>
Juanjo Bazán xuanxu New assertion: assert_present [#4299 state:committed]
Signed-off-by: Xavier Noria <>
Xavier Noria fxn adds and entry for assert_blank and assert_present to CHANGELOG 1412ad4
Santiago Pastorino spastorino Don't cache the utc_offset we are already caching the timezone [#4301

Signed-off-by: Jeremy Kemper <>
Santiago Pastorino spastorino avoid method redefined; discarding old empty? warning [#4302 state:co…

Signed-off-by: Jeremy Kemper <>
Commits on Mar 31, 2010
José Valim josevalim Deprecate cookie_verifier_secret in favor of config.cookie_secret all…
…owing signed cookies to work again.
Xavier Noria fxn adds missing require for blank? and present? 607f945
Pratik lifo Dont try to load the record from the db if preloading didn't find any…
José Valim josevalim yield always return an array, so we don't need to use .key? 05337f6
Ravinder Rana ravinderrana Create tmp directories if required before starting server [#3907 stat…

Signed-off-by: José Valim <>
Joshua Peek josh Add --skip-bundler option to rails application generator
NOTE: This does not fix the bundler activation issue. The "bundler"
gem will still be installed and activated when you install rails.
Jeremy Kemper jeremy To skip bundler, `rm Gemfile`. Create a Gemfile to use it again. b3980af
Ernie Miller ernie Fix mapping of bigint/smallint/uuid columns in postgresql adapter.
Signed-off-by: Emilio Tagua <>
Ernie Miller ernie Add tests for postgresql column type mapping updates [#4270 state:res…

Signed-off-by: Emilio Tagua <>
Commits on Apr 01, 2010
Jeremy Kemper jeremy Missed __FILE__ 8dfa276
Jeremy Kemper jeremy HTML safety: give a deprecation warning if an array of option tags is…
… passed to select tag. Be sure to join the tag yourself and mark them .html_safe
Bernardo de Pádua bernardo Fix error in number_with_precision with :significant option and zero …
…value [#4306 state:resolved]

Signed-off-by: José Valim <>
Doug Richardson drichardson Read postgresql encoding using string key instead of symbol [#4304 st…

Signed-off-by: wycats <>
David Heinemeier Hansson dhh Prep for beta2, depend on latest Bundler d868cb4
David Heinemeier Hansson dhh Not needed with RubyGems 1.3.6 86473b4
David Heinemeier Hansson dhh Make your bed and clean up your gemspecs! 9b71c55
David Heinemeier Hansson dhh Neat and tidy, I say d956003
David Heinemeier Hansson dhh Bump this guy too 46aee9f
Yehuda Katz wycats Updated changelogs d2a4885
Yehuda Katz wycats Updated changelogs to differentiate beta1 and beta2 c1883e7
David Heinemeier Hansson dhh Release is today, yo f0364d8