Skip to content
This repository
  • 172 commits
  • 152 files changed
  • 21 comments
  • 40 contributors
Aug 02, 2012
Mike Gunderloy Fix ActiveSupport integration with Mocha > 0.12.1
Mocha 0.12.2 renames the Integration module to
MonkeyPatching. This breaks the code Rails uses
to retrieve the assertion counter from Mocha.
a252436
Carlos Antonio da Silva Merge pull request #7235 from ffmike/mocha_12_2_compat
Fix ActiveSupport integration with Mocha > 0.12.1
5365c10
Toshinori Kajihara Backport #5168 to 3-2-stable. Fix a problem that NULLS is ignored by …
…postgresql_adapter.rb while creating distincts.
f137c2b
Carlos Antonio da Silva Merge pull request #7232 from kennyj/fix_7200
Fix #7200. Backport #5168 to 3-2-stable
59c4b22
Rafael Mendonça França Do not consider the numeric attribute as changed if the old value is
zero and the new value is not a string.

Before this commit this was the behavior

r = Review.find_by_issue(0)
r.issue
=> 0
r.changes
=> {}
r.issue = 0
=> 0
r.changed?
=> true
r.changes
=> {"issue"=>[0,0]}

Fixes #7237
99f622d
Rafael Mendonça França Use `:data => { :confirm => "Text" }` syntax instead of `:confirm` at
the ERB scaffold generator.

We are trying to teach the data attributes as best practices and
`:confirm` will be deprecated in 4.0.
96e92b6
Santiago Pastorino html_escape should escape single quotes
https://www.owasp.org/index.php/XSS_%28Cross_Site_Scripting%29_Prevention_Cheat_Sheet#RULE_.231_-_HTML_Escape_Before_Inserting_Untrusted_Data_into_HTML_Element_Content
Closes #7215

Conflicts:
	actionpack/test/template/erb_util_test.rb
	actionpack/test/template/form_tag_helper_test.rb
	actionpack/test/template/text_helper_test.rb
	actionpack/test/template/url_helper_test.rb
	activesupport/lib/active_support/core_ext/string/output_safety.rb
2bdb4ec
Rafael Mendonça França Fix html_escape with Ruby 1.8 2f4b82f
Rafael Mendonça França More `:rails_env` cleanup.
`Rails.env` already use development if ENV["RAILS_ENV"] is not present.
e23b26c
José Valim Merge pull request #6084 from brainopia/support_for_magic_domain_on_a…
…ll_stores

Support cookie jar options for all cookie stores
393c652
Aug 05, 2012
Rafael Mendonça França Revert "Merge pull request #6084 from brainopia/support_for_magic_dom…
…ain_on_all_stores"

This reverts commit 393c652.

This commit was supposed to fix a bug but it add more failures.
a48ea68
Rafael Mendonça França Merge pull request #7140 from seamusabshere/patch-1
Make sure :environment task is executed before db:schema:load or
db:structure:load

Conflicts:
	activerecord/CHANGELOG.md
0fb6bbd
Aug 06, 2012
Prem Sichanugrist Do not include application.js if it doesn't exists
Rails were including 'application.js' to the pack when using
`javascript_include_tag :all` even there's no application.js in the
public directory.
8e2a05b
Prem Sichanugrist Rearrange example output of javascript_include_tag 6c46730
Rafael Mendonça França Merge pull request #7276 from sikachu/3-2-stable-js-include-tag-fix
Do not include application.js if it doesn't exists
3cc872d
José Valim Merge pull request #7167 from route/missed_extend
Missed extend for eager_autoload

This backport is trying to fix a bug with eager load
ActiveRecord::Associations modules
29fb31f
Aaron Patterson Merge pull request #5872 from evtuhovich/prepared_statement_fix
Remove prepared statement from system query in postgresql adapter
Conflicts:
	activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
a935c7a
Rafael Mendonça França Add CHANGELOG entry for a935c7a ea48732
Aug 07, 2012
Joshua Peek Loosen sprockets version restriction 83e0c95
David Heinemeier Hansson Merge pull request #7283 from josh/bump-sprockets
Allow newer versions of Sprockets
185d74c
Aaron Patterson make assertions easier to track down d498b5e
Joshua Peek Fix invalid asset compile assertions
Logical paths to compile should require an extension
635817e
Rafael Mendonça França Merge pull request #7284 from josh/fix-asset-tests
Fix asset integration test (3-2-stable)
c35853f
Rafael Mendonça França Remove references to old behavior with headers at
ActionDispatch::Integration::ResquestHelpers.

The behavior has removed at 4a6f4b9 to
increase the compatibility with Rack::Test

Closes #7136

[ci skip]
4147e0f
Aug 08, 2012
Rafael Mendonça França Fix CHANGELOG [ci skip] 2e98e0f
Aug 09, 2012
Jeremy Walker Ported PR #4856 to 3-2-stable. 2a6039a
Jeremy Walker Backport #7173. af6dfdb
Rafael Mendonça França Add CHANGELOG entry 5c2fc69
Rafael Mendonça França Merge pull request #7299 from iHiD/3-2-stable-store
Ported PR #4856 to 3-2-stable.
0f9a6a7
Santiago Pastorino Merge branch '3-2-8' into 3-2-stable 7987e74
Mark Turner Add html_escape note to CHANGELOG e8c0d73
Santiago Pastorino Merge pull request #7309 from amerine/3-2-stable
Add html_escape note to CHANGELOG
ae2383d
Aug 10, 2012
Ravil Bayramgalin Revert "Revert "Merge pull request #6084 from brainopia/support_for_m…
…agic_domain_on_all_stores""

This reverts commit a48ea68.
058dc9a
Ravil Bayramgalin Dont stream back cookie value if it was set to the same value bbe634e
Ravil Bayramgalin Test actual content of permanent cookie ca07bc0
Rafael Mendonça França Merge pull request #7286 from kennyj/fix_7191
Fix #7191. Remove unnecessary transaction when assigning has_one associations.
Conflicts:
	activerecord/test/cases/associations/has_one_associations_test.rb
2e00074
Rafael Mendonça França Add CHANGELOG entry for #7286 3307a2e
Aug 11, 2012
Piotr Sarnacki [guides] Add info about CHANGELOGs to contributing guide dad717a
Ravil Bayramgalin Update changelog to reflect support of cookie jar options for all
session stores
2e04a34
Rafael Mendonça França Merge pull request #7316 from brainopia/backport_fix_session_store_op…
…tions

Backport of "Support cookie jar options for all cookie stores" for 3.2-stable
20f18cb
Rafael Mendonça França Merge pull request #6073 from daveyeu/restore-state-on-record-invalid
Restore state on create when ActiveRecord::RecordInvalid is raised
Conflicts:
	activerecord/CHANGELOG.md
786713a
Aug 15, 2012
Jeremy Kemper Backport 5c51cd0: #send_file leans on Rack::Sendfile to X-Accel-Redir…
…ect the file's path, so opening the file to set the response body is wasteful. Set a FileBody wrapper instead that responds to to_path and streams the file if needed.
bccc35b
Rafael Mendonça França Do not use update_column where update_attribute is not interchangeable
Revert "Deprecate update_attribute."

This reverts commit b081f6b.

Reason: Since the new deprecation policy we removed the deprecation of
update_attribute but we didn't reverted the changes to use
update_column.

Fixes #7306
8055cd6
Carlos Antonio da Silva Merge pull request #7027 from erichmenge/patch/jruby_send_file
Backport 5c51cd0 to fix an issue with jRuby encodings. Fixes #6844
b4dce47
Carlos Antonio da Silva Remove duplicated changelog entry [ci skip] 4e31f82
Aug 17, 2012
Jon Leighton Use benchmark/ips to measure AR performance
This means we can more easily compare numbers, and we don't have to
specify a single N for all reports, which previously meant that some
tests were running many more/fewer iterations than necessary.
bfff0ed
Jon Leighton Increase benchmark time to 20 seconds.
I think that 5 seconds was a bit low for our purposes.

Also enable it to be configured via env vars.

We also need to scale the number of records up/down depending on how
long we're running the benchmark for.
25f6549
Rafael Mendonça França Merge pull request #7352 from aripollak/microsecond-timestamp
Fix occasional microsecond conversion inaccuracy
Conflicts:
	activerecord/CHANGELOG.md
d6dbd7f
Aug 18, 2012
Rafael Mendonça França Ruby 1.8 doesn't have to_r defined to NilClass and Float.
Use round to get the right conversion
3c61642
Joe Rafaniello Table#remove passed an array to remove_column, which is deprecated. 066ecf0
Rafael Mendonça França Merge pull request #7388 from ManageIQ/fix_table_remove_passing_array…
…_deprecation

Table#remove passed an array to remove_column, which is deprecated.
b3bea49
Aug 21, 2012
Carlos Antonio da Silva Merge pull request #7377 from brainopia/use_inversed_parent_for_first…
…_and_last_child

Use inversed parent for first and last child of has_many association

[Backport] Closes #3223.

Conflicts:
	activerecord/lib/active_record/associations/collection_association.rb
fdf4eae
Rafael Mendonça França Merge pull request #6986 from kennyj/fix_6975
Fix #6975. Round usec when writing timestamp attribute.

Conflicts:
	activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
8905c1f
Rafael Mendonça França Merge pull request #7410 from sandeepravi/default_options_helper_value
option_tags coerced to "" instead of nil

Closes #7404
c091fae
Rafael Mendonça França Merge pull request #5210 from Pliny/masteri
Fix for #5200

Conflicts:
	activerecord/CHANGELOG.md
	activerecord/lib/active_record/counter_cache.rb
648c5a1
Rafael Mendonça França Use a model without counter cache to test read-only attributes 015cac7
Carlos Antonio da Silva Use Ruby 1.8 hash syntax
Introduced in backport 648c5a1.
d5fe242
Aug 24, 2012
Arun Agrawal We need to have 1-0-stable for joureny gem in edge
Problem : Edge rails can't bundle
Fixes #7437
0ec7b35
Santiago Pastorino Merge pull request #7438 from arunagw/3-2-stable-edge-rails-fix
We need to have 1-0-stable for joureny gem in edge
b76a963
Aug 25, 2012
Vasiliy Ermolovich correct handling of date selects when using both disabled and discard…
… options

we should take disabled option not only from `html_options` hash but from
`options` hash too like `build_select` method does it. So

datetime_select("post", "updated_at", { :discard_minute => true }, { :disabled => true })
datetime_select("post", "updated_at", :discard_minute => true , :disabled => true)

both these variants work now

closes #7431
4b19855
Rafael Mendonça França Merge pull request #7446 from nashby/backport-fix-issue-7431
backport #7435
dcb2bee
Aug 28, 2012
Xavier Noria fixes a bug in dependencies.rb
loaded stores file names without the .rb extension, but search_for_file
returns file names with the extension.

The solution is hackish, but this file needs a revamp.
8333b93
Xavier Noria CHANGELOGs are now per branch
Check 810a50d for the rationale.
8efced6
Pratik Ensure association preloading properly merges default scope and assoc…
…iation conditions

Conflicts:

	activerecord/test/models/reader.rb
58d35f6
Marc-André Lafortune Fix bug when Rails.application is defined but is nil. See #881 728e925
Aug 29, 2012
Piotr Sarnacki Merge pull request #7474 from steveklabnik/backport_89ebd28
Backport 89ebd28 to 3-2-stable
f84fc39
Aug 30, 2012
Xavier Noria documents after_(commit|rollback) cabab37
Sep 03, 2012
Yves Senn set the configured #inheritance_column on #become (#7503)
I had to create a new table because I needed an STI table,
which does not have both a "type" and a "custom_type"

the test fails with:
  1) Error:
test_alt_becomes_works_with_sti(InheritanceTest):
NoMethodError: undefined method `type=' for #<Cabbage id: 1, name: "my cucumber", custom_type: "Cucumber">
    /Users/username/Projects/rails/activemodel/lib/active_model/attribute_methods.rb:432:in `method_missing'
    /Users/username/Projects/rails/activerecord/lib/active_record/attribute_methods.rb:100:in `method_missing'
    /Users/username/Projects/rails/activerecord/lib/active_record/persistence.rb:165:in `becomes'
    test/cases/inheritance_test.rb:134:in `test_becomes_works_with_sti'
    test/cases/inheritance_test.rb:140:in `test_alt_becomes_works_with_sti'

Conflicts:

	activerecord/test/cases/inheritance_test.rb
01d09a6
Rafael Mendonça França Merge pull request #7514 from senny/issue_7503_3_2_stable
set the configured #inheritance_column on #become (#7503)
87ac5b4
Sep 05, 2012
Rafael Mendonça França Merge pull request #7337 from adzap/string_to_dummy_time
Fix for time type columns with invalid time value
Conflicts:
	activerecord/CHANGELOG.md
5054e26
Sep 07, 2012
Carlos Antonio da Silva Update Active Model xml serialization test to reflect a change in bui…
…lder

Due to a change in builder, nil values and empty strings now generates
closed tags, so instead of this:

    <pseudonyms nil=\"true\"></pseudonyms>

It generates this:

    <pseudonyms nil=\"true\"/>

Document this change in Rails so that people can track it down easily if
necessary.

Conflicts:
	activemodel/CHANGELOG.md
d65adc7
Carlos Antonio da Silva Fix AR tests due to builder change with nil values / empty strings
Check 0180e09 for more reasoning about
that.
77dd3be
Carlos Antonio da Silva Fix AS tests due to builder change with nil values / empty strings
Check 0180e09 for more reasoning about
that.
146eaf3
Sep 09, 2012
Thiago Pradi ConnectionAdapters::Column.type_cast_code should always convert value…
…s to integer calling #to_i
652107e
Rafael Mendonça França Merge pull request #7582 from tchandy/fix_type_cast_code
type_cast_code should always convert values to integer calling #to_i
924ad60
Sep 12, 2012
Toshinori Kajihara Backported #7572 to 3-2-stable. Use config['encoding'], because datab…
…ase configuration use not charset but encoding.
9630485
Rafael Mendonça França Merge pull request #7603 from kennyj/fix_charset_vs_encoding_32
Backported #7572 to 3-2-stable. Use config['encoding'], because database configuration use not charset but encoding.
f568280
Sep 13, 2012
Backport PostgreSQL auto-reconnect test coverage
6d5f4de
Simulated & actual (manual/skipped) PostgreSQL auto-reconnection tests.

4b1bca0
Stop being silly with formatting of method aliasing.

c381d5c
Fix just-plain-wrongness of psql auto-reconnect test.

1e17a9d
Fix only-once stub logic.

f16c204
Changelog for PostgreSQL auto-reconnect test coverage backport.
f48bb01
Rafael Mendonça França Merge pull request #7632 from stevecj/3-2-stable
3 2 stable
84c7896
Francesco Rodríguez fix markdown markup in AR/CHANGELOG 2326d46
Carlos Antonio da Silva Merge pull request #7633 from frodsan/patch-5
Fix markdown markup in AR/CHANGELOG [ci skip]
5aaf79a
Rafael Mendonça França `skip` in Ruby 1.8 doesn't skip the test case without return dbfdd00
Sep 16, 2012
Rafael Mendonça França Backport explain fixes.
* Mark as SCHEMA some schema database queries. #7648
* Don't explain queries except normal CRUD sql. #7657

Closes #6458
Closes #7544
6abe0e7
Rafael Mendonça França Merge pull request #7651 from steveklabnik/issue_3956
Don't preserve SELECT columns on COUNT

Closes #7651

Conflicts:
	activerecord/test/cases/associations/has_many_associations_test.rb
8432d03
Sep 17, 2012
Rafael Mendonça França Merge pull request #7666 from kennyj/fix_9fa3f102813eeeec440abd75870d…
…fa7b23835665

Fix warning: method redefine. Testcase name are duplicated.
07c8055
Rafael Mendonça França Merge pull request #7661 from ernie/build-join-records-on-unsaved-hmt
Fix collection= on hm:t join models when unsaved
ee43989
Yves Senn log 404 status when ActiveRecord::RecordNotFound was raised (#7646)
Conflicts:
	actionpack/CHANGELOG.md
	actionpack/lib/action_controller/log_subscriber.rb
dd76b3b
Jonathan Rochkind backport fair connection pool 02b2335 to 3-2-stable 0693e07
Rafael Mendonça França Merge pull request #7675 from jrochkind/fair_conn_pool_backport
backport fair connection pool 02b2335 to 3-2-stable
24a7774
Peter Wagenet Respect `config.digest = false` for `asset_path`
Previously, the `asset_path` internals only respected the `:digest`
option, but ignored the global config setting. This meant that
`config.digest = false` could not be used in conjunction with
`config.compile = false` this corrects the behavior.
1ac19c1
Sep 18, 2012
Rafael Mendonça França Merge pull request #7672 from wagenet/asset_path_digest_fix
Respect `config.digest = false` for `asset_path`
7c5454e
Steve Klabnik Add upgrading note to 3.1 release notes.
See #7685.
1929d9f
Rafael Mendonça França Merge pull request #7686 from steveklabnik/add_upgrade_note
Add upgrading note to 3.1 release notes.
29ebec7
Rafael Mendonça França Cache columns metadata to avoid extra while testing a82f1e3
Sep 19, 2012
Rafael Mendonça França Merge pull request #7668 from Draiken/fix_issue_6497
Removing to_shorthand to fix #6497
Conflicts:
	actionpack/CHANGELOG.md
61d5d2d
Jeremy Kemper Load the environment after creating the database
Conflicts:
	activerecord/lib/active_record/railties/databases.rake
c41f9c1
Sep 20, 2012
Toshinori Kajihara Fix #6962. AS::TimeWithZone#strftime responds incorrectly to %:z and …
…%::z format strings.
4e715e3
Rafael Mendonça França Merge pull request #7718 from kennyj/fix_6962-32
[3-2-stable] Fix #6962. AS::TimeWithZone#strftime responds incorrectly to %:z and %::z format strings.
50a76c1
Rafael Mendonça França Revert "backport fair connection pool 02b2335 to 3-2-stable"
This reverts commit 0693e07.

Revert "Cache columns metadata to avoid extra while testing"

This reverts commit a82f1e3.

Reason: This is causing failures in the postgresql build.
See http://travis-ci.org/#!/rails/rails/builds/2485584

Related with #7675
e4018a0
Rafael Mendonça França Revert "Respect `config.digest = false` for `asset_path`"
This reverts commit 1ac19c1.

Conflicts:
	actionpack/CHANGELOG.md

Reason: This is causing failures in the railties build.
See http://travis-ci.org/#!/rails/rails/jobs/2491787

Related with #7672
54f5574
Rafael Mendonça França Explictly set the assets digest option to false 9d07ace
Rafael Mendonça França Revert "Revert "Respect `config.digest = false` for `asset_path`""
This reverts commit 54f5574.

Reason: the last commit fixed the failing case
98f8021
Sep 21, 2012
Aaron Patterson Merge pull request #3544 from amatsuda/_field_changed
Rename field_changed? to _field_changed? so that users can create a field named field
Conflicts:

	activerecord/lib/active_record/core.rb
	activerecord/test/cases/dirty_test.rb
b8fba55
Rafael Mendonça França Merge pull request #7723 from steveklabnik/backport_3554
Backport #3544 to 3-2-stable
7b545ff
Rafael Mendonça França Fix invalid ruby 1.8 syntax 114e180
Sep 24, 2012
Jonathan Rochkind ConnectionPool accepts spec key 'checkout_timeout'
Backport of #6441 cb6f839 . Old 'wait_timeout' is still supported,
but conflicts with mysql2 using that spec key for different thing.
'checkout_timeout' can now be used taking precedence for ConnectionPool
over 'wait_timeout'.
3908706
Sep 25, 2012
Rafael Mendonça França Merge pull request #7684 from jrochkind/connection_pool_timeout_key_b…
…ackport

ConnectionPool accepts spec key 'checkout_timeout' (Backport)
8800aae
Sep 27, 2012
Jeremy Kemper Only apply log tags if the logger supports it 08ca483
Jeremy Kemper Log newlines separately to ensure the 'Started GET ...' line has a ta…
…g on the same line
032c2b6
Jeremy Kemper Add logger.push_tags and .pop_tags to complement logger.tagged
Avoid memory leak from unflushed logs on other threads leaving tags behind.

Conflicts:
	activesupport/CHANGELOG.md
	activesupport/lib/active_support/tagged_logging.rb
	activesupport/test/tagged_logging_test.rb
20f5f08
Jeremy Kemper Tune up Rails::Rack::Logger. Only put space between requests in devel…
…opment logs.

Conflicts:
	railties/test/application/rack/logger_test.rb
35a1750
Sep 28, 2012
Jeremy Kemper Shush syntax warnings ddba97f
Jeremy Kemper Shush uninitialized @_layout warning c203557
Jeremy Kemper Hashrocket for 1.8 support 8ca05c2
backport 68677ff 8dbf337
Aaron Patterson Merge pull request #7785 from okcwest/3-2-stable
backport 68677ff
e1a10b1
Sep 29, 2012
Don't paramify ActionDispatch::Http::UploadedFile in tests
To test uploading a file without using fixture_file_upload, a posted
ActionDispatch::Http::UploadedFile should not be paramified (just like
Rack::Test::UploadedFile).
(Rack::Test::UploadedFile and ActionDispatch::Http::UploadedFile don't
share the same API, tempfile is not accessible on
Rack::Test::UploadedFile as discussed in
brynary/rack-test#30)
c53e5de
Rafael Mendonça França Merge pull request #7786 from yabawock/3-2-stable
Backport "Don't paramify ActionDispatch::Http::UploadedFile in tests"
c2a7084
Sep 30, 2012
Rafael Mendonça França Merge pull request #7659 from HugoLnx/template_error_no_matches_rebased
REBASED: fixing assert_template bug when template matches expected, but not ends with
Conflicts:
	actionpack/CHANGELOG.md
	actionpack/lib/action_controller/test_case.rb
7d17cd2
Rafael Mendonça França New CHANGELOG entries always in the top [ci skip] d77d4a8
Steve Klabnik Fix reference to code sample in Getting Started.
Fixes #7799.
2475882
Xavier Noria Merge pull request #7802 from steveklabnik/issue_7799
Fix reference to code sample in Getting Started.
5cb5092
Jeremy Kemper Asset manifest includes aliases for foo.js -> foo/index.js and vice v…
…ersa. Bump Sprockets requirements from 2.1+ to 2.2+ and let it answer "should we compile this asset?" for us.
19987b6
Rafael Mendonça França Since File instance doesn't respond to #open use a double to test the
behavior added at c53e5de
628e38d
Oct 01, 2012
Rafael Mendonça França Merge pull request #6450 from iHiD/resource_generator_routes_master
Master branch: Fixed generated whitespace in routes when using namespaced resource.

Merge pull request #7811 from iHiD/resource_generator_routes_master

Fix the build (Broken scaffold routes test)
a02f67b
Rafael Mendonça França Merge pull request #7789 from senny/7777_resource_functions_modify_op…
…tions

resource and resources do no longer modify passed options
3b5bc8d
Rafael Mendonça França Merge pull request #7797 from senny/7459_prefix_tempalte_assertion_va…
…riables

prefix TemplateAssertions ivars.

Closes #7459
Conflicts:
	actionpack/lib/action_controller/test_case.rb
	actionpack/lib/action_view/test_case.rb
2bad605
Oct 02, 2012
Rafael Mendonça França Merge pull request #7822 from lulalala/reset-counter-cache-for-has-ma…
…ny-through

Fix reset_counters crashing on has_many :through associations.
Conflicts:
	activerecord/CHANGELOG.md
	activerecord/lib/active_record/counter_cache.rb
3f0bc97
Oct 03, 2012
Santiago Pastorino Refactor
Conflicts:
	activerecord/lib/active_record/counter_cache.rb
288885f
lihan Update supported ruby versions error message in ruby_version_check.rb 36261c8
Rafael Mendonça França Merge pull request #7836 from lihanli/error-msg-update
Update supported ruby versions error message in ruby_version_check.rb
95369a5
Oct 04, 2012
Rafael Mendonça França Merge pull request #6978 from frodsan/count_nosql_unsaved_parent
Count returns 0 without querying if parent is not saved
9896729
Oct 06, 2012
Rafael Mendonça França Merge pull request #7850 from senny/5920_postgres_adapter_table_with_…
…capital_letters

postgres, quote table names when fetching the primary key (#5920)
Conflicts:
	activerecord/CHANGELOG.md
	activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
de360ac
Rafael Mendonça França Merge pull request #7848 from senny/3415_assert_template_has_nil_vari…
…able

can't pass :locals to #assert_template without a view test case (#3415)
Conflicts:
	actionpack/CHANGELOG.md
92d7612
Riley Martinez-Lynch Accept :remote as symbol in link_to options
Accept either :remote or 'remote' in both the html_options and
(url_)options hash arguments to link_to.
380800e
Rafael Mendonça França Use the Ruby 1.8 hash syntax f668ab9
Rafael Mendonça França Merge pull request #7865 from teleological/link_to_remote_3_2
Accept :remote as symbol in link_to options (backport)
bf07c79
Jeremy Kemper Backport 1a70499
Tag the blank log line between dev requests so it's easier to filter out entire requests with grep -v without leaving a stray newline behind. Example:

  # Tag asset requests so it's easy to filter them from dev logs
  config.log_tags = [
    -> request { :assets if request.path.starts_with?(config.assets.prefix) },
    -> request { request.uuid }
  ]

  # Watch the logs, ignoring asset requests
  $ tail -100f log/development.log | grep -v assets
fb9c001
Oct 10, 2012
Michael Fairley Eager autoload ActiveRecord association helpers de1b687
John Firebaugh Eager autoload Preloader classes
Without eager autoloading, these would be autoloaded
only when #preloader_for is called, which is too late
in threaded applications.
2bed954
Rafael Mendonça França Merge pull request #7905 from jfirebaugh/eager_autoload_3-2
Backport eager autoloading fixes
eefb344
Oct 12, 2012
Ernie Miller Fix has_many assocation w/select load after create
If you create a new record via a collection association proxy that has
not loaded its target, and which selects additional attributes through
the association, then when the proxy loads its target, it will
inadvertently trigger a deprecation notice during attribute writing when
CollectionAssociation#merge_target_lists attempts to do its thing, since
the newly loaded records will possess attributes the created record does
not.
990a938
Rafael Mendonça França Merge pull request #7925 from ernie/3-2-fix-collection-associations-w…
…ith-select

Fix has_many assocation w/select load after create
84c3774
Oct 14, 2012
Arturo Pie #7914 get default value when type uses schema name
PostgreSQL adapter properly parses default values when using multiple
schemas and domains.

When using domains across schemas, PostgresSQL prefixes the type of the
default value with the name of the schema where that type (or domain) is.

For example, this query:
```
SELECT a.attname, d.adsrc
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = "defaults"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum;
```

could return something like "'<default_value>'::pg_catalog.text" or
"(''<default_value>'::pg_catalog.text)::text" for the text columns with
defaults.

I modified the regexp used to parse this value so that it ignores
anything between ':: and \b(?:character varying|bpchar|text), and it
allows to have optional parens like in the above second example.
3980465
Arturo Pie 7914 Using a better way to get the defaults from db.
Changes:

* According to postgreSQL documentation:
(http://www.postgresql.org/docs/8.2/static/catalog-pg-attrdef.html)
we should not be using 'adsrc' field because this field is unaware of
outside changes that could affect the way that default values are
represented. Thus, I changed the queries to use
"pg_get_expr(adbin, adrelid)" instead of the historical "adsrc" field.

* Remove parsing of character type default values for 8.1 formatting since
Rails doesn't support postgreSQL 8.1 anymore.

* Remove misleading comment unrelated to code.
3006c59
Rafael Mendonça França Merge pull request #7940 from arturopie/7914-backport-to-3-2-stable
Backport fix of issue #7914 to 3-2-stable
b3485b7
Oct 15, 2012
Aaron Patterson Synchronize around deleting from the reserved connections hash.
Fixes #7955
d92e66f
Oct 17, 2012
Santiago Pastorino Merge pull request #7371 from csmuc/fix_dup_validation_errors
Dup'ed ActiveRecord objects may not share the errors object
Conflicts:
	activerecord/CHANGELOG.md
	activerecord/test/cases/dup_test.rb
9a38e73
Oct 18, 2012
Martin Grandrath Use `Rails.env` instead of `ENV['RAILS_ENV']`; #7951
`ENV['RAILS_ENV']` is not defined unless explicitly specified on the
command line when running `rake db:structure:load`. This patch lets
the rake task retrieve the environment from `Rails.env` which defaults
to "development".
f4ddc49
Yves Senn active_model/validations requires necessary files to run 1f73a53
Rafael Mendonça França Merge pull request #7989 from senny/backport_7969
backport: active_model/validations requires necessary files to run
6dfa701
Rafael Mendonça França Require ActionController::Railtie in the default middleware stack.
This will make possible to do a frameworkless initialization since the
the default middleware stack is self contained.
b04ec27
Oct 20, 2012
Carlos Antonio da Silva Merge pull request #7986 from Grandrath/patch-2
Fix behavior of `rake db:structure:load` for 3.2.8
2471271
Oct 22, 2012
Aaron Patterson frozen state should be restored after txn is aborted f7c2a81
Oct 24, 2012
Geoffrey Roguelon Adding a missing parenthesis in the doc of String#parameterize. 9f1a47d
Rafael Mendonça França Merge pull request #8022 from GRoguelon/3-2-stable
Adding a missing parenthesis in the doc of String#parameterize.
7f09bcd
Oct 27, 2012
Rafael Mendonça França Add test case to assets eager load 552a3e1
Jeremy Kemper Merge pull request #8038 from frodsan/fix_am_serializers_xml_dependency
Fix AM::Serializers::Xml dependency
4b1a7bc
Oct 28, 2012
Elia Schito Respect children paths filter settings
E.g. don't eager-load app/assets even if app/* has the eager_load flag set.
53778ec
Arun Agrawal Removing JSON for other ruby
It's only required for 1.8 and for JRuby!
I was fixing a bug with JSON pure on 1.8.7
and I found that we have included json for other
1.8 > rubies also.
1adb784
Carlos Antonio da Silva Merge pull request #8047 from arunagw/json_only_in_18
Removing JSON for other ruby
2b5d3aa
Rafael Mendonça França Merge pull request #8048 from senny/7761_dont_render_view_without_mai…
…l_call

Do not render views when mail() isn't called. (NullMail refactoring)
Conflicts:
	actionmailer/CHANGELOG.md
37586dd
Rafael Mendonça França Merge pull request #7593 from veader/patch-1
Decode attributes pulled from URI.parse
Conflicts:
	activerecord/CHANGELOG.md
	activerecord/lib/active_record/connection_adapters/connection_specification.rb
a119dd3
Rafael Mendonça França Fix the skip code.
Checking for the constant doesn't work
721cf54
Oct 29, 2012
Rafael Mendonça França Make Active Record tests pass in isolation
Also remove the feature detecting for Ruby 1.9
5d82c1f
Carlos Antonio da Silva Merge pull request #8053 from henrik/update_columns_with_primary_key
Unbreak update_column/update_columns for the primary key attribute.
Conflicts:
	activerecord/CHANGELOG.md
	activerecord/lib/active_record/persistence.rb
	activerecord/test/cases/persistence_test.rb
cdfa4a5
Rafael Mendonça França Merge pull request #8057 from frodsan/fix_sqlite_mutate_arg
SQLite3Adapter#type_cast should not mutate arguments
Conflicts:
	activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb
d40309a
Elia Schito Deprecate Paths::Path#children which is unused now f7de647
Rafael Mendonça França Merge pull request #7587 from elia/fix-too-eager-loading
Should not eager_load app/assets
a53e464
Rafael Mendonça França Revert "Deprecate Paths::Path#children which is unused now"
This reverts commit f7de647.

We can't deprecate things in stable branches. I didn't not realized that
the pull request was for 3-2-stable
633f2cd
Santiago Pastorino Add 3.2.9 section in ARes CHANGELOG
[ci skip]
6ed23ea
Santiago Pastorino Bump to 3.2.9.rc1 fdfb399