Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
This comparison is big! We’re only showing the most recent 250 commits
Commits on Dec 05, 2010
@radar radar Finish documenting generator / template methods for the generators guide a86be8c
@radar radar Add missing colons on the end of before_initialize and after_initiali…
…ze documentation in configuring guide
@radar radar Add mention of config.to_prepare in configuring guide 350818f
@radar radar Config guide: Rails has *5* initialization events ceb650a
@radar radar Configuring guide: Adding mention of the initializer method. f7c85da
@radar radar Move Rails Environment settings to above the initialization events in…
… the config guide
@radar radar Config guide: separate the initialization events and initializer meth…
…od documentation
@radar radar Config guide: Add config.active_support.bare 4e2f947
@radar radar Clarify that preload_frameworks defaults to nil f02c89f
@radar radar Config guide: clarify what cache_store defaults to. c3e8bf0
@radar radar Config guide: Mention ActionDispatch::Callbacks methods: before, to_p…
…repare and after
@radar radar Remove extra f 2021596
@radar radar Config guide: add tld_length to ActionDispatch section 488992f
@radar radar Config guide: Add cache_asset_ids 1a7958d
@radar radar Config guide: should use config.action_dispatch.tld_length to set the…
@radar radar Config guide: Add javascript_expansions and stylesheet_expansions 85ced0f
@radar radar Config guide: begin documenting the initializers 2484b7e
@radar radar Config guide: continuing work on documenting the initializers 13a7302
Commits on Dec 08, 2010
Neeraj Singh Add to documentation that action caching does
handle HTTP_ACCEPT attribute properly and might
provide wrong result. Use params[:format] to
avoid this issue.
@fxn fxn makes a pass to the action caching rdoc 75faf54
@asanghi asanghi Ensure that boolean false is properly serialized [#6079 state:resolved] 97e9d88
Commits on Dec 09, 2010
@michaeldv michaeldv Take into account current time zone when serializing datetime values [#…
…6096 state:resolved]

Signed-off-by: José Valim <>
Neeraj Singh Ensure that while caching a page rails takes into
account the resolved mime type for the request

This is a port of fix on master to 3-0-stable

Signed-off-by: José Valim <>
Neeraj Singh Do not send id for quoting twice if the primary key is string.
[#6022 state:resolved]
@tenderlove tenderlove just wrap as a sql literal 60744d2
Robert Pankowecki (Gavdi) Simplifies observer implementation [#6065 state:resolved] 61f2d52
@matthewrudy matthewrudy Fix Bug: disable_referential_integrity doesn't work for postgres 9.0.1 f33968a
@matthewrudy matthewrudy Cleaner way to extract the Postgres version d2003a2
Commits on Dec 10, 2010
@git2samus git2samus typo b4b6ffe
Commits on Dec 11, 2010
@vijaydev vijaydev fixed typo in test method name ab88074
@lucascaton lucascaton Fix link on generations' page 6103f8f
@evtuhovich evtuhovich Fix doc about nested transaction rollback
Because AR::Rollback do not reraise and inner transaction is not "real"
nothing rollback at all
@radar radar Config guide: eager_load_paths by default contains every directory in…
… the app directory
@radar radar Config guide: add session store config option 92668f6
@radar radar Config guide: add further initializers f0029d0
@radar radar Config guide: Space out initialization events to improve readability 85a940f
@radar radar Add note which links to documentation regarding the types of columns …
@radar radar Config guide: Use bold titles for initializers instead of headings. 8aec8b8
@radar radar Move ActiveModel::Lint::Tests documentation to be above module declar…
…ation so it appears in the API docs for this module.
@radar radar mapper.rb: add "options" to make the default-to-namespace-name line r…
…ead better
@radar radar indent code samples for mount doc d3d23e2
@radar radar root route should go at the *top* of the routes file, because it is t…
…he most popular route and should be matched first
@radar radar root method options are the same as the match method 55a232a
@radar radar Action Controller Overview: Remove dead link to the API docs for filters 6276334
@vijaydev vijaydev fixed typos and rephrased few sentences in routing 51202a1
@fxn fxn testing guide: revises explanation of the test macro 01c76d5
@fxn fxn spaces with underscores, I mean 37b9d02
@fxn fxn reviews commit 53bbbcc 9254750
Commits on Dec 15, 2010
@radar radar Provide an example for ActionDispatch::Routing::Mapper#scope f5c15a4
@paulodeon paulodeon Updated generator guide for rails commit 7891de8 ee9fea6
@vijaydev vijaydev fixed typos and rephrased a few sentences; also removed reference to …
…status codes being located in action_controller/status_codes.rb
@vijaydev vijaydev fixed typos in mailer f840d5c
@radar radar Remove nodoc from FormBuilder because the methods inside are public A…
…PI methods
@radar radar Fix indentation on the namespace method's documentation 6bf482e
@umarsheikh umarsheikh for the root route to work, we need to delete the public/index.html.erb
file as well
@remear remear Added :placeholder option to ActionView::Helpers::FormTagHelper text_…
@elben elben It should be ActiveModel::Validator, not ActiveRecord::Validator. 463522a
@radar radar Active Support coreext guide: Logger core extension documentation 3392b56
@asanghi asanghi eternal confusion! fixed doco to inform correctly dfecb3f
@vijaydev vijaydev filter_parameter_logging is deprecated in Rails 3. Changed it to conf…
@vijaydev vijaydev fixed font 0a42961
@vijaydev vijaydev fixed link to ruby-prof acd716b
Commits on Dec 17, 2010
@drogus drogus Allow to use BUNDLE_GEMFILE env variable in boot.rb [#6184 state:reso…
@drogus drogus Use require 'bundler/setup' instead of directly calling Bundler.setup…
… in config/boot.rb
Commits on Dec 18, 2010
@dontangg dontangg Fixed number_with_precision rounding error [#6182 state:resolved] 177749b
@drogus drogus Use gemspec instead of gem rails in Gemfile f2fc81f
@dhh dhh Merge branch '3-0-stable' of into 3-0-stable c09c8be
Commits on Dec 22, 2010
@drogus drogus Fix activesupport tests. These classes are not used anywhere d4cf636
@johnpaulashenfelter johnpaulashenfelter Added a word boundary to uncountable inflection regex for #singulariz…
…e so short inflections like ors do not affect larger words like sponsors [#6093 state:resolved]
@drogus drogus Ensure that uncountable are removed after test 725817e
@spastorino spastorino Avoid Bundler Resolver bug until they solve the issue 053031b
@spastorino spastorino This can make make included javascripts/stylesheets from expansions t…
…o be duplicated

or grow forever if you call register_*_expansion more than once

Fix a Regression introduced here 55b13c5
@fxn fxn API guidelines: RDoc markup documentation has been moved in RDoc 3 bbb2252
Commits on Dec 23, 2010
@jonleighton jonleighton Test to verify that #2189 (count with has_many :through and a named_s…
…cope) is fixed [#2189 state:resolved]
@jonleighton jonleighton Fix problem where wrong keys are used in JoinAssociation when an asso…
…ciation goes :through a belongs_to [#2801 state:resolved]
Commits on Dec 28, 2010
@fxn fxn complete revision of the Contributing to Ruby on Rails guide
* adds instructions for PostgreSQL
* adds references to mysql2 here and there
* puts documentation contributions on par with code contributions
* adds a section about Rails Contributors
* documents C dependencies for Nokogiri and the database libs
* everything double-checked and revised step by step
* adds a section about warnings in the test suite
* removes section about the Rails wiki
* title and filename renamed
* overall rewording
Commits on Dec 29, 2010
@lifo lifo Make serialized fixtures work again

@fxn fxn since a lot of people use Ubuntu, document specific aptitude calls fo…
…r some C dependencies in the contrib guide
@fxn fxn renames the contrib guide in the index a2ddf5a
Commits on Dec 30, 2010
@apotonick apotonick process_action accepts multiple args, even with Callbacks. 8d1a318
@fxn fxn contrib_guide.gsub!("aptitude", "apt-get")
It turns out aptitude has been removed from Ubuntu 10.10
and while you can manually install it, apt-get is the
blessed package manager. Google for "aptitude removed
from Ubuntu" for more details. Thanks to Rafael Mendonça
França for pointing this out.
@lifo lifo Make sure Model#touch doesn't try to update non existing columns a49a84f
Commits on Jan 01, 2011
@sikachu sikachu Make sure that generator's default banner is showing its namespace
This will make `rails g rspec:install --help` shows "rails generate rspec:install [options]" and not "rails generate install  [options]"
Commits on Jan 03, 2011
Robert Pankowecki (Gavdi) Added one more failing test for bug #6036 af2999d
Robert Pankowecki (Gavdi) Use id instead of quoted_id to prevent double quoting. Fixes failing …
…test for bug #6036.
Commits on Jan 04, 2011
@lifo lifo Bump rack-test version b7bb795
Commits on Jan 05, 2011
Hemant Kumar fix difference between behaviour of blank and empty
Signed-off-by: José Valim <>
Commits on Jan 09, 2011
@lardawge lardawge Backport tests for subclassed arrays 9bc338e
@jrallison jrallison Improve select helpers by allowing a selected value of false. This is…
… useful when using a select helper with a boolean attribute, and the attribute is false. (e.g. :allow_comments)
@bluetrans-deploy bluetrans-deploy use Object#class instead of Object#type 9933859
Commits on Jan 10, 2011
@krekoten krekoten Refactor to handle the X-Cascade without having to raise an exception 117cad8
@bluetrans-deploy bluetrans-deploy primary_key is returned as either string or symbol, in columns loop m…
…ap everything to string
@tenderlove tenderlove calculate to_s on the primary key once 09f3736
@tenderlove tenderlove use SQLite3::VERSION rather than the deprecated class b7e5a64
@rsim rsim Always return decimal average of integer fields
In previous version if database adapter (e.g. SQLite and Oracle) returned non-String calculated values then type_cast_using_column converted decimal average value of intefer field to integer value. Now operation parameter is always checked to decide which conversion of calculated value should be done.
@tenderlove tenderlove adding to_d to BigDecimal 2cb497b
Commits on Jan 11, 2011
@ernie ernie Fix polymorphic belongs_to associationproxy raising errors when loadi…
…ng target.
Commits on Jan 12, 2011
@spastorino spastorino CI should run isolated tests 3b9e72b
@spastorino spastorino Allow view in AV::TestCase to access it's controller helpers methods 3f247cb
@joshk joshk In AS, only inflector/methods is need in proxy_wrappers.rb, as well a…
…s date, date_time, and time conversions.rb. This fixes an issue when requiring json and AS saying that i18n is also required.

Signed-off-by: Santiago Pastorino <>
@joshk joshk Fixed various isolated test missing requires within AS.
Signed-off-by: Santiago Pastorino <>
@tenderlove tenderlove sorry, the CI cannot lie to us anymore 4781673
@tenderlove tenderlove reraising should be in the rescue block 20062e7
@tenderlove tenderlove use raise to create exceptions and to set the backtrace 8874733
@tenderlove tenderlove remove locales external to the system before assertion 58f90b2
@spastorino spastorino Reuse the view_context from the controller, this make the test enviro…
…nment more similar to the code applications uses
@fxn fxn upgrades RDoc and horo dependencies
RDoc 2.x was missing some stuff, let's align this with master
@spastorino spastorino Allow generators nested in more than one level 3667438
Commits on Jan 13, 2011
@tenderlove tenderlove include_in_memory? should check against @target list in case of new r…
…ecords. [#6257 state:resolved]
@spastorino spastorino Add missing require 0f5e815
@spastorino spastorino One more missing require f4dcf19
@spastorino spastorino sorry, the CI cannot lie to us anymore (Part II) 460f173
Commits on Jan 16, 2011
@tenderlove tenderlove updating sqlite3-ruby => sqlite3 9d87f41
@jonleighton jonleighton Added deprecation warning for has_and_belongs_to_many associations wh…
…ere the join table has additional attributes other than the keys. Access to these attributes is removed in 3.1. Please use has_many :through instead.
Commits on Jan 17, 2011
@tenderlove tenderlove minitest added @__io__, so we should ignore it too a58670b
Commits on Jan 18, 2011
@NZKoz NZKoz Use the derived request_method from AD::Request rather than the raw R…
…EQUEST_METHOD from rack.

This takes _method into account so the log shows the method which ActionController sees.
@tenderlove tenderlove Changing sqlite3-ruby to sqlite3. backporting 8f88a28 to 3-0-stable. 97d4766
Commits on Jan 19, 2011
@jamis jamis make TestCaseTest work for pre-1.9 rubies, too fd19ade
@jamis jamis scrub instance variables from test cases on teardown
this prevents test state from accumulating, resulting in leaked
objects and slow tests due to overactive GC.
@jamis jamis rein in GC during tests by making them run (at most) once per second
this can provide a significant performance boost during testing, by
preventing the GC from running too frequently.
Frank Fischer Added a testcase for bug [#5329]
Signed-off-by: José Valim <>
@josevalim josevalim Solve SystemStackError when changing locale inside ActionMailer [#5329
@jamis jamis Revert "rein in GC during tests by making them run (at most) once per…
… second"

This reverts commit 35984f5.
@jamis jamis Revert "scrub instance variables from test cases on teardown"
This reverts commit 1e98920.
@jamis jamis Revert "make TestCaseTest work for pre-1.9 rubies, too"
This reverts commit fd19ade.
Commits on Jan 24, 2011
@tenderlove tenderlove Merge remote branch 'jonleighton/deprecate_habtm_attributes-3-0-stabl…
…e' into 3-0-stable

* jonleighton/deprecate_habtm_attributes-3-0-stable:
  Added deprecation warning for has_and_belongs_to_many associations where the join table has additional attributes other than the keys. Access to these attributes is removed in 3.1. Please use has_many :through instead.
Commits on Jan 28, 2011
@spastorino spastorino Bump mail version up 5f509c2
Commits on Jan 29, 2011
@mikel mikel Fix gitignore to ignore tmp/ correctly, credit telemachus 54e72a5
Commits on Jan 30, 2011
@NZKoz NZKoz Prepare for the 3.0.4 release 0cbf9b2
Commits on Jan 31, 2011
@josevalim josevalim Fix AM tests 0448247
@NZKoz NZKoz Be sure to javascript_escape the email address to prevent apostrophes…
… inadvertently causing javascript errors.

This fixes CVE-2011-0446
@josevalim josevalim Ensure render is case sensitive even on systems with case-insensitive…
… filesystems.

This fixes CVE-2011-0449
@josevalim josevalim Use Mime::Type references. ad9d21d
@tenderlove tenderlove limit() should sanitize limit values
This fixes CVE-2011-0448
@NZKoz NZKoz Change the CSRF whitelisting to only apply to get requests
Unfortunately the previous method of browser detection and XHR whitelisting is unable to prevent requests issued from some Flash animations and Java applets.  To ease the work required to include the CSRF token in ajax requests rails now supports providing the token in a custom http header:

 X-CSRF-Token: ...

This fixes CVE-2011-0447
@NZKoz NZKoz Make rails.js include the CSRF token in the X-CSRF-Token header with …
…every ajax request.
Commits on Feb 01, 2011
@amatsuda amatsuda Make before_type_cast available for datetime fields
Signed-off-by: Santiago Pastorino <>
@amatsuda amatsuda before_type_cast on Datetime tests for Mysql2Adapter
Signed-off-by: Santiago Pastorino <>
@saimonmoore saimonmoore Additionally trigger i18n configuration setup before any eager loading [
#6353 state:resolved]

This handles the case where config.cache_classes is true and classes
are loaded before the I18n load path has had a chance to be populated.

Signed-off-by: Santiago Pastorino <>
@saimonmoore saimonmoore Ensure I18n setup is only executed once if triggered on eager loading [
…#6353 state:resolved]

Signed-off-by: Santiago Pastorino <>
Commits on Feb 02, 2011
@rsim rsim fix for test_read_attributes_before_type_cast_on_datetime - Oracle ad…
…apter also returns Time value
Commits on Feb 03, 2011
Anton Astashov Add a test for 'render :layout'
To make sure it will show block contents if it is placed after 'render

[#5557 state:resolved]

Signed-off-by: Santiago Pastorino <>
@metaskills metaskills The type_cast_calculated_value method will trust DB types before cast…
…ing to a BigDecimal.

[#6365 state:committed]

Signed-off-by: Santiago Pastorino <>
Commits on Feb 04, 2011
@ef4 ef4 Fixing ordering of HABTM association deletion [#6191 state:resolved]
Signed-off-by: Santiago Pastorino <>
@spastorino spastorino git am is better here d00ed5a
@spastorino spastorino Remove stupid mistake f2d0257
Commits on Feb 08, 2011
@NZKoz NZKoz Prepare for the 3.0.4 release 1081ea6
@NZKoz NZKoz Merge branch '3-0-4-security' into 3-0-stable 84d608b
Commits on Feb 09, 2011
@fxn fxn adds RedCloth to the Gemfile, and defines a :doc group 27b8fb5
@tenderlove tenderlove comma limits do not make sense on oracle or pg ff00cd2
@joshk joshk fix for AS Gzip returning a UTF-8 string in Ruby 1.9 when it is actua…
…lly binary [#6386 state:resolved]

Signed-off-by: José Valim <>
Santiago Pastorino and Emilio Tagua Add missing require 54dca98
@metaskills metaskills Allow limit values to accept an ARel SQL literal. 7530c52
@fxn fxn getting started guide: the generated application README has no extension 01ca46b
@fxn fxn now that the API guidelines are a guide, it is enough to assert that …
…the names of Rails components have a space, no need to say it was checked with David in the past
Commits on Feb 11, 2011
@carlosantoniodasilva carlosantoniodasilva Add missing deprecation require
Signed-off-by: Santiago Pastorino <>
@tenderlove tenderlove skip this test on mysql2 as well 4433b50
@tenderlove tenderlove no more text-format for Ruby 1.9 compatibility cab7cb4
@tenderlove tenderlove psych does not emit a space after the type 4dc5505
Commits on Feb 12, 2011
@joshk joshk Fixes an issue when decoding a json string which looks like a date bu…
…t is invalid. This DateTime parse error is now caught and the original string is instead passed back [#6286 state:resolved]

Signed-off-by: Santiago Pastorino <>
@joshk joshk Updated the json date regex to recognize xmlschema formatted date tim…
…es during json decoding. [#3031 state:resolved]

Signed-off-by: Santiago Pastorino and Emilio Tagua <>
@amatsuda amatsuda avoid nil.dup
Signed-off-by: Santiago Pastorino <>
@amatsuda amatsuda do not to_s where you are testing that a string value is stored for t…
…he before_type_cast

Signed-off-by: Santiago Pastorino <>
@carlosantoniodasilva carlosantoniodasilva Add tests showing the LH issue #6381: fields_for with inline blocks a…
…nd nested attributes already persisted

Signed-off-by: Santiago Pastorino <>
@spastorino spastorino Backport fix from master: fields_for with inline blocks and nested at…
…tributes already persisted does not render properly

Signed-off-by: Santiago Pastorino <>
Commits on Feb 13, 2011
@morgoth morgoth added proper require for ruby-debug19 gem to generated Gemfile
[#6419 state:committed]

Signed-off-by: Santiago Pastorino <>
@spastorino spastorino Make gem "ruby-debug19" require ruby-debug 22d1fee
@ernie ernie Deprecate Relation#& alias for Relation#merge 66003f5
@jonleighton jonleighton Deprecated support for interpolated association conditions with the :…
…conditions => 'foo = #{bar}' syntax, and added the new interpolation syntax which is :conditions => proc { "foo = #{bar}" }.
@pixeltrix pixeltrix Fix assert_recognizes with block constraints [#5805 state:resolved] e9ae88a
@pixeltrix pixeltrix Remove incorrect assert_recognizes example cb9745b
Commits on Feb 14, 2011
@pixeltrix pixeltrix Remove incorrect assert_recognizes example c6ab3d1
@pixeltrix pixeltrix Add notes on how to override the default :id constraint [#5994 state:…
@pixeltrix pixeltrix Fix named route helper for routes nested inside deeply nested resources
[#6416 state:resolved]
@pixeltrix pixeltrix Add test to prevent regression on namespace root nested in a resource
[#6389 state:resolved]
@tenderlove tenderlove Merge remote branch 'jonleighton/deprecate_string_interpolation-3-0-s…
…table' into 3-0-stable

* jonleighton/deprecate_string_interpolation-3-0-stable:
  Deprecated support for interpolated association conditions with the :conditions => 'foo = #{bar}' syntax, and added the new interpolation syntax which is :conditions => proc { "foo = #{bar}" }.
Commits on Feb 15, 2011
@cris cris fixed broken link to postgresql docs
Signed-off-by: Santiago Pastorino <>
@jnimety jnimety GcTime incorrectly checks GC.respond_to?(:total_time), it should chec…
…k GC::Profiler.respond_to?(:total_time)

[#6435 state:committed]

Signed-off-by: Santiago Pastorino <>
Commits on Feb 16, 2011
Dan Pickett handle double pluralization for irregular plurals

Signed-off-by: Santiago Pastorino <>
@tukan tukan Fixed issue #6363, avoid to pluralized already pluralized names and s…
…ingularize a single in generators, for example stadia is a valid plural for stadium. But calling pluralize for stadia will return stadias which sematically is not corrent in this case

[#6363 state:committed]

Signed-off-by: Santiago Pastorino <>
@tenderlove tenderlove explicitly anding queries of the same column 41c35ab
Commits on Feb 17, 2011
@tenderlove tenderlove updating changelog ff5db18
Commits on Feb 18, 2011
@fcheung fcheung Change validates inclusion to use cover? for Ranges in ruby 1.9 [#6453

Signed-off-by: Xavier Noria <>
Commits on Feb 21, 2011
@tenderlove tenderlove Gem.cache is going to be deprecated, use source_index instead 3ab82d8
Commits on Feb 22, 2011
@tenderlove tenderlove adding a test case for custom locking ac73f50
@NZKoz NZKoz Prepend the CSRF filter to make it much more difficult to execute app…
…lication code before it fires.
@tenderlove tenderlove silencing deprecation spam 30a0e3f
Commits on Feb 23, 2011
@kamal kamal Fix observer callbacks firing multiple times on descendant instances ee491b0
@tenderlove tenderlove updating to 3.0.5.rc1 ef31b87
Commits on Feb 24, 2011
@tenderlove tenderlove observers leak across tests, so rather than modify the object, we sho…
…uld just count the number of times the observer was called
Commits on Feb 25, 2011
@sikachu sikachu Make sure that we set `env["action_dispatch.show_exceptions"]`
This has been used by `show_exception` middleware even the setting wasn't get passed to `env` hash.

(This is the backported version to 3-0-stable)
@sikachu sikachu Always use ActionDispatch::ShowExceptions middleware [#6462 state:res…

This will make sure the application will raise `ActionController::RoutingError` in case "X-Cascade: pass" header was set, usually when there's no route match.

(This is a backported version to 3-0-stable)
Commits on Feb 27, 2011
@tenderlove tenderlove prepping for 3.0.5 release ecc6bb5
@tenderlove tenderlove Merge branch '3-0-5' into 3-0-stable
* 3-0-5:
  prepping for 3.0.5 release
@spastorino spastorino Bump i18n version f7e1703
@spastorino spastorino failing test for i18n key collision with namespaced models d043d20
@spastorino spastorino Revert "Properly interpolate i18n keys in modules [#5572 state:resolv…

This breaks #6448, you should use :"module/class" as key for namespacing
[#6448 state:committed]

This reverts commit 8d14fa8.
Commits on Feb 28, 2011
@svenfuchs svenfuchs Make TranslationHelper#translate use the :rescue_format option in I18…
…n 0.5.0 (backports 896e25e)

Don't catch exceptions here. Instead only declare that we want exceptions to be rescued as :html, but also let users configure reactions to exceptions in I18n.

Signed-off-by: Santiago Pastorino <>
@spastorino spastorino Add a test for passing :rescue_format => nil to #translate
Signed-off-by: Santiago Pastorino <>
@spastorino spastorino javascript_include_tag shouldn't raise if you register an expansion k…
…ey with nil or [] value
@joshk joshk updated Time, Date and DateTime current methods in AS to use Time.zon…
…e and not Time.zone_default.

[#6410 state:committed]
@joshk joshk Updated the AS guides with some information on the difference between…
… and Date.current.
Commits on Mar 01, 2011
@tenderlove tenderlove use a subclass of AS::TZ for testing html output cdfee85
Commits on Mar 02, 2011
@chuyeow chuyeow Fix Action caching bug where an action that has a non-cacheable respo…
…nse always renders a nil response body. It now correctly renders the response body.

Note that only GET and HTTP 200 responses can be cached.

[#6480 state:committed]

Signed-off-by: Santiago Pastorino <>
@spastorino spastorino Add missing versions to CHANGELOGs ea026f1
@spastorino spastorino Add some CHANGELOG entries for 3.0.6 45d5663
Commits on Mar 04, 2011
@josevalim josevalim log and readme should respect --quiet eff41a2
Commits on Mar 06, 2011
@pixeltrix pixeltrix Raise ArgumentError if route name is invalid [#6517 state:resolved] 2437c78
@pixeltrix pixeltrix Improve testing of cookies in functional tests:
- cookies can be set using string or symbol keys
- cookies are preserved across calls to get, post, etc.
- cookie names and values are escaped
- cookies can be cleared using @request.cookies.clear

[#6272 state:resolved]
@pixeltrix pixeltrix Report the correct value of in the exception message
as different ruby implementations may have different values,
for example Rubinius returns 53 for

[#6444 state:resolved]
Commits on Mar 09, 2011
@pixeltrix pixeltrix Filter params that return nil for to_param 8dab7e5
Commits on Mar 10, 2011
@fxn fxn Filter sensitive query string parameters in the log [#6244 state:comm…

This provides more safety to applications that put secret information in the query string, such as API keys or SSO tokens.

Signed-off-by: Xavier Noria <>
@fxn fxn remove item in CHANGELOG that leaked in a merge c1f2d9b
Commits on Mar 12, 2011
Rolf Timmermans adds a couple of missing AS dependencies 30dd123
@spastorino spastorino require 'thread' in order to use Mutex 4a26cd0
@pixeltrix pixeltrix Fixed a bug when empty? was called on a grouped Relation that wasn't …

[#5829 state:resolved]
@andriytyurnikov andriytyurnikov length validation for fixnums
Signed-off-by: Santiago Pastorino <>
@spastorino spastorino Add CHANGELOG entry 'Fix length validation for fixnums' 0d1ca43
Commits on Mar 13, 2011
@pixeltrix pixeltrix Remove invalid test
The test fails on PostgreSQL when trying to load the records as
the comments_count field is not included in the GROUP BY clause.
Commits on Mar 16, 2011
@spastorino spastorino Refactor length validation 1cbade3
@joshk joshk fixes an issue with number_to_human when converting values which are …
…less than 1 but greater than -1 [#6576 state:resolved]

Signed-off-by: Santiago Pastorino <>
@spastorino spastorino Add number_to_human CHANGELOG entry cb2c5c5
Commits on Mar 17, 2011
@paneq paneq Fix when database column name has some symbolic characters. [#5818 st…
@spastorino spastorino Add AMo CHANGELOG entry 665065c
Commits on Mar 18, 2011
@spastorino spastorino Sync attribute_methods.rb with master code, tests added
[#6580 state:committed]
@spastorino spastorino Update CHANGELOG entry 5ec7806
Commits on Mar 21, 2011
@iain iain Reapply extensions when using except and only b8ff5f0
@tenderlove tenderlove updating ar changelog e508d9e
@tenderlove tenderlove schemas set by set_table_name are respected by the mysql adapter. [#5322
@tenderlove tenderlove oops, forgot to commit this test! 66c8c6c
@tenderlove tenderlove escaping binary data encoding when inserting to sqlite3. Thanks Narus…
…e! [#6559 state:resolved]
Commits on Mar 22, 2011
@spastorino spastorino Do not in place modify what table_name returns 7717fc3
@spastorino spastorino Allow to read and write AR attributes with non valid identifiers 1b7b724
@spastorino spastorino use class_eval with a string when it's possible 63dca41
Commits on Mar 23, 2011
@h-lame h-lame Failing test case to show that habtm join table contents are removed …
…when a model is destroyed but the destruction is blocked by a before_destroy.
@h-lame h-lame Make clearing of HABTM join table contents happen in an after_destory…
… callback.

The old method of redefining destroy meant that clearing the HABTM join table would happen as long as the call to destroy succeeded.  Which meant if there was a before_destroy that stopped the instance being destroyed using normal means (returning false, raising ActiveRecord::Rollback) rather than exceptional means the join table would be cleared even though the instance wasn't destroyed.  Doing it in an after_destroy hook avoids this and has the advantage of happening inside the DB transaction too.
@adzap adzap Fix before_type_cast for timezone aware attributes by caching convert…
…ed value on write. Also remove read method reload arg on timezone attributes.
@pixeltrix pixeltrix Fix filter :only and :except with implicit actions
The method_name argument is "default_render" for implicit actions
so use the action_name attribute to determine which callbacks to run.

[#5673 state:resolved]
Commits on Mar 24, 2011
@joshk joshk correction to the outputted controller name in the diagnostics error …
…template, test included

Signed-off-by: Santiago Pastorino <>
Commits on Mar 26, 2011
@jstorimer jstorimer Correct docs for after_find and after_initialize 9d7ef79
@tenderlove tenderlove fixing whitespace errors. :bomb: 7643dfd
@tenderlove tenderlove adding a test for attributes after type cast. thanks nragaz. :heart: f28b08a
Commits on Mar 27, 2011
@tenderlove tenderlove refactoring tz to a variable rather than repeating it c9708ad
@tenderlove tenderlove cleaning up typecast test a little 004fc1c
Commits on Mar 28, 2011
@jeremy jeremy Cheaper attribute reads and respond_to?. Add underscore-prefixed meth…
…od aliased to the attribute name so it can be overridden but still called internally.
@sikachu sikachu Do not show optional (.:format) block for wildcard route [#6605 state…

This will make the output of `rake routes` to be correctly match to the behavior of the application, as the regular expression used to match the path is greedy and won't capture the format part by default

This commit is the second attempt on fixing the issue, as the regular expression on another commit on `master` was invalid.
@smartinez87 smartinez87 Un-deprecate #reorder method
Signed-off-by: Santiago Pastorino <>
@tenderlove tenderlove updating AR changelog 90e9f2c
@tenderlove tenderlove bumping version to 3.0.6.rc1 f13fe8f
Commits on Mar 29, 2011
@tenderlove tenderlove Revert "Improve testing of cookies in functional tests:"
This reverts commit e2523ff.