Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/panic postgresql error #42233

Closed
wants to merge 371 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
371 commits
Select commit Hold shift + click to select a range
0b51e35
docs, synchronize CHANGELOG across branches. [ci skip]
senny Dec 16, 2014
8fdd4bf
`update_column` take ruby-land input, not database-land input
sgrif Dec 16, 2014
7b667ec
Merge pull request #18052 from timoschilling/reset_variants
rafaelfranca Dec 16, 2014
c85cf79
Merge pull request #18052 from timoschilling/reset_variants
rafaelfranca Dec 16, 2014
1882f84
Merge pull request #18072 from exAspArk/thread_safe_gem_version
rafaelfranca Dec 17, 2014
3834bc5
Merge pull request #18072 from exAspArk/thread_safe_gem_version
rafaelfranca Dec 17, 2014
2cb5a80
Relax the UUID regex
chancancode Dec 18, 2014
a48307e
Relax the UUID regex
chancancode Dec 18, 2014
39a5cff
Merge pull request #18077 from claudiob/add-docs-for-test-order
rafaelfranca Dec 18, 2014
3aa5bee
Merge pull request #18077 from claudiob/add-docs-for-test-order
rafaelfranca Dec 18, 2014
bfd6c66
Enable Travis CI container-mode
rafaelfranca Dec 18, 2014
c2494fe
Revert "Merge pull request #18003 from sikachu/permit_all_parameters-…
chancancode Dec 19, 2014
5843a4a
Revert "Merge pull request #18003 from sikachu/permit_all_parameters-…
chancancode Dec 19, 2014
38d75ce
Use released rack
chancancode Dec 19, 2014
bdf40d0
Use released rack
chancancode Dec 19, 2014
5762a71
Merge pull request #18082 from rails/17945_purge_in_test_only
senny Dec 19, 2014
77fe87c
Merge pull request #18082 from rails/17945_purge_in_test_only
senny Dec 19, 2014
2d99eb1
Use released I18n 0.7.0
carlosantoniodasilva Dec 19, 2014
be49e98
Remove rack and i18n master from bug report tempaltes [ci skip]
rafaelfranca Dec 19, 2014
658981f
Remove rack and i18n master from bug report tempaltes [ci skip]
rafaelfranca Dec 19, 2014
3076b0d
Use released I18n 0.7.0
carlosantoniodasilva Dec 19, 2014
df7e3f5
syncs the autoloading guide with master [ci skip]
fxn Dec 19, 2014
ae52620
syncs the autoloading guide with master [ci skip]
fxn Dec 19, 2014
02694fa
Make `config.serve_static_assets` settable via an ENV var
chancancode Dec 19, 2014
f295c2f
Deprecate `config.serve_static_assets`
chancancode Dec 19, 2014
eddbd42
Merge pull request #18100 from chancancode/serve_static_files
chancancode Dec 19, 2014
388bbfc
Typos in changelog
chancancode Dec 19, 2014
0082f02
Merge pull request #18100 from chancancode/serve_static_files
chancancode Dec 19, 2014
83f56be
Typos in changelog
chancancode Dec 19, 2014
e4feac4
Add nodoc to some constants [skip ci]
arthurnn Dec 19, 2014
e35eb86
Merge pull request #18102 from arthurnn/nodoc_constant
arthurnn Dec 19, 2014
53eb7e3
Merge pull request #18102 from arthurnn/nodoc_constant
arthurnn Dec 19, 2014
c3eeb16
activejob needs to be built before actionmailer
chancancode Dec 20, 2014
7847a19
Preparing for 4.2.0 release
chancancode Dec 20, 2014
f932239
Merge branch '4-2-0' into 4-2-stable
chancancode Dec 20, 2014
0d66b24
Disable testing with delayed_job_active_record until it supports 4.2 …
chancancode Dec 20, 2014
c79544b
Merge pull request #18110 from claudiob/point-guide-to-master
senny Dec 20, 2014
01fbcc0
Merge pull request #18119 from joker1007/add_require_core_ext_hash_to…
sgrif Dec 21, 2014
0f817bb
Merge pull request #18118 from vipulnsward/fix-validation-message
carlosantoniodasilva Dec 21, 2014
8228aa7
Merge pull request #18132 from rochefort/fix-typo-nodoc
senny Dec 22, 2014
04d7eaa
Correctly handle Float -> BigDecimal with unspecified precision
sgrif Dec 22, 2014
fc9c6c9
document the return of `db:test:prepare`. Closes #18136. [ci skip]
senny Dec 22, 2014
5279061
Use serve_static_files in guides [skip ci]
arthurnn Dec 22, 2014
197789d
Correctly handle limit on int4 and int8 types in PG
sgrif Dec 22, 2014
2991369
Don't calculate all in-place changes to determine if attribute_changed?
sgrif Dec 22, 2014
407df41
Don't perform statement caching for `find` when called from a scope
sgrif Dec 22, 2014
8b95420
Improve the performance of reading belongs_to associations
sgrif Dec 22, 2014
b9bc49e
Merge pull request #18163 from y-yagi/fix_nodoc_typo
senny Dec 23, 2014
81600d4
Merge pull request #18162 from romaimperator/master
senny Dec 23, 2014
5e8f2af
Merge pull request #18167 from al2o3cr/checkin_connection_leak
sgrif Dec 23, 2014
5ab6247
Don't treat `nil` as changed in serialized types
sgrif Dec 23, 2014
e1114b3
Merge pull request #18170 from tgxworld/add_docs_for_rails_applicatio…
sgrif Dec 23, 2014
c27e079
Don't raise on out-of-range datetimes passed by a user
greysteil Dec 23, 2014
151ece9
Merge pull request #18171 from greysteil/backport-out-of-range-fix
sgrif Dec 23, 2014
03e672a
Fix bug in ActionMailer guide.
Dec 24, 2014
edd11aa
Merge pull request #18206 from kamipo/dump_default_nil_for_postgresql…
senny Dec 26, 2014
98d33e3
Correctly ignore `case_sensitive` for UUID uniqueness validation
sgrif Dec 26, 2014
009dd4d
Merge branch 'brainopia-remember_frozen_state_in_transaction'
sgrif Dec 26, 2014
3a388cb
Add missing `:nodoc:` [ci skip]
sgrif Dec 26, 2014
eb8d263
Merge pull request #18229 from benprew/patch-2
sgrif Dec 28, 2014
e57921f
Fix documentation typo [ci skip]
sgrif Dec 28, 2014
19ef828
Merge pull request #18232 from yousuketto/doc-for-bundler-require
senny Dec 29, 2014
8a769b7
update constant autoloading guide to clarify autoloading of `concerns…
agrobbin Dec 29, 2014
31a44be
Merge pull request #18239 from agrobbin/18213-guide-concerns
robin850 Dec 29, 2014
1c42774
Test with Ruby 2.2
rafaelfranca Dec 29, 2014
1a392cc
Merge pull request #17920 from calebthompson/dont-rely-on-environment…
sgrif Dec 4, 2014
37e2a93
Merge pull request #18236 from vipulnsward/dont-eval-frozen
rafaelfranca Dec 29, 2014
7e01d16
Add nodoc to touch at no_touching.rb
rafaelfranca Dec 29, 2014
44fc88b
delayed_job_active_record already support Rails 4.2
rafaelfranca Dec 29, 2014
7b8c42c
Ensure `first!` and friends work on loaded associations
sgrif Dec 29, 2014
9b0b6bf
Remove some warning with Ruby 2.2
rafaelfranca Dec 29, 2014
99ce03f
Merge pull request #18240 from shunsukeaida/add_tzinfo_data_to_plugin…
rafaelfranca Dec 29, 2014
0ced406
Merge pull request #18243 from JoshCheek/mailer_guide_code_example
carlosantoniodasilva Dec 29, 2014
2055983
Merge pull request #11085 from acapilleri/partial_exception_message
rafaelfranca Dec 29, 2014
4055752
Fix typo :bomb: [ci skip]
rafaelfranca Dec 29, 2014
9c592fe
Merge pull request #18251 from tjgrathwell/fix-polymorphic-routes-to-…
rafaelfranca Dec 30, 2014
bc1760f
Merge pull request #18255 from prathamesh-sonpatki/fix-single-space-f…
rafaelfranca Dec 30, 2014
d638b7a
Merge pull request #18259 from arthurnn/return_nil_on_multi_pk
sgrif Dec 30, 2014
852fb65
Merge pull request #18261 from prathamesh-sonpatki/update-changelog
rafaelfranca Dec 30, 2014
3124b9b
Fix some warnings with Ruby 2.2
rafaelfranca Dec 30, 2014
429d1bb
Merge pull request #17680 from larskanis/fix_bytea_change_detection
sgrif Dec 30, 2014
464b823
Merge pull request #18242 from brainopia/has_one_loading_for_new_record
sgrif Dec 30, 2014
78bd18a
Fix error message when trying to create an associated record
rafaelfranca Dec 30, 2014
746f1c4
Merge pull request #18266 from cristianbica/ajfixes
rafaelfranca Dec 31, 2014
9985da0
Merge pull request #18264 from yahonda/rename_index_mysql
rafaelfranca Dec 31, 2014
42e7152
Merge pull request #18269 from cuppincake/getting-started-migration-u…
senny Dec 31, 2014
2910956
Merge pull request #18275 from robin850/head-status
carlosantoniodasilva Dec 31, 2014
a877622
Check by @v before converting the entry on expired?
rafaelfranca Dec 29, 2014
c84ff5c
Fix scaffold generator with --helper=false option
rafaelfranca Jan 2, 2015
8cc0414
Do not run integration tests for the test adapter
rafaelfranca Jan 2, 2015
b2e34d2
Do not check only for the Rails constant
rafaelfranca Jan 2, 2015
595f7b0
Merge pull request #18196 from PavelPenkov/rails_env_instead_of_rails
matthewd Dec 25, 2014
ac6f30c
Merge pull request #18080 from korbin/fix_reaping_frequency_configura…
rafaelfranca Jan 2, 2015
806dbd4
Flatten the call stacks ActiveSupport::Callbacks produces, fix #18011.
jaroslawr Dec 27, 2014
885eeba
Merge pull request #18294 from jaroslawr/4-2-stable-backport-flatten-…
rafaelfranca Jan 2, 2015
b1481b3
Bug report templates should point the 4.2.0 [ci skip]
rafaelfranca Jan 2, 2015
dc99190
Merge pull request #18298 from brainopia/integration_requests_without…
rafaelfranca Jan 2, 2015
d4fe454
Merge pull request #15746 from amccloud/auto-inverse_of-in-module
rafaelfranca Jan 2, 2015
2d14548
Merge pull request #17978 from kommen/fixed-pr-14903
rafaelfranca Jan 2, 2015
d9d4cd4
Merge pull request #15309 from iantropov/issue_12698_build_through
rafaelfranca Jan 2, 2015
ef09f68
Remove warning: assigned but unused variable - post
rafaelfranca Jan 2, 2015
a953f7f
Merge pull request #17820 from fw42/restore_query_cache_on_rollback
rafaelfranca Jan 2, 2015
8bf2f1b
Merge pull request #8547 from printercu/patch-1
rafaelfranca Jan 2, 2015
0f0a80f
Don't test invalid log encoding against PostgreSQL adapter
rafaelfranca Jan 2, 2015
0b8314a
Add missing encoding header
rafaelfranca Jan 2, 2015
90fcfea
Merge pull request #18308 from jcoyne/i18n_translate_safety
rafaelfranca Jan 2, 2015
3dd29f4
Merge pull request #18307 from brainopia/datetime_regression
rafaelfranca Jan 2, 2015
35a50bd
Merge pull request #18067 from kamipo/format_datetime_string_accordin…
rafaelfranca Jan 2, 2015
82f6012
Remove some warnings
rafaelfranca Jan 3, 2015
a06f130
Remove unused require
carlosantoniodasilva Jan 4, 2015
257ffb1
Merge pull request #18090 from egilburg/patch-3
rafaelfranca Jan 4, 2015
00cac5d
Merge pull request #18332 from gchan/update-adequate-record-notes
rafaelfranca Jan 4, 2015
0c951af
Revert "Merge pull request #18090 from egilburg/patch-3"
rafaelfranca Jan 4, 2015
79d6d67
Lock pg version until queue_classic issue is solved
rafaelfranca Jan 5, 2015
cf69923
Merge pull request #18342 from brainopia/reset_template_assertion_wit…
rafaelfranca Jan 5, 2015
2cba41d
Revert "Lock pg version until queue_classic issue is solved"
senny Jan 5, 2015
9ff21e7
Merge pull request #18345 from mtthgn/patch-1
rafaelfranca Jan 5, 2015
dc09322
Merge pull request #17676 from tigrish/fix_custom_i18n_exception_hand…
rafaelfranca Jan 5, 2015
d34614f
Merge pull request #18349 from jdelStrother/primarykeyless
sgrif Jan 5, 2015
a43645e
Define attribute methods before attempting to populate records
sgrif Jan 5, 2015
eb53536
Merge pull request #18350 from brainopia/fix_build_from_bind_values
sgrif Jan 6, 2015
4542f89
Merge pull request #18377 from brainopia/custom_connection_with_count
sgrif Jan 7, 2015
7972898
Merge pull request #16640 from mfazekas/fix_loop_in_changed_for_autosave
chancancode Jan 7, 2015
7b786af
Merge pull request #18423 from jone/remove-default-header
senny Jan 9, 2015
151921a
Properly persist `lock_version` as 0 if the DB has no default
sgrif Jan 9, 2015
4a7fbf4
Properly copy nested bind values from subqueried relations
sgrif Jan 9, 2015
7081c95
Merge pull request #18433 from koraktor/patch-1
senny Jan 10, 2015
c50d0b7
aj tests, QC setup must not run multiple times.
senny Jan 10, 2015
5450e72
aj tests, cope with changes in the QC API.
senny Jan 10, 2015
5383f22
Don't attempt to save dirty attributes which are not persistable
sgrif Jan 10, 2015
d5e329e
Relax Rack dependency
spastorino Jan 12, 2015
12a40a8
Add missing time zone definitions for Russian Federation
Envek Jan 13, 2015
f215c8e
Merge pull request #18502 from y-yagi/fix_autoloading_guide
senny Jan 14, 2015
914f98b
Merge pull request #18504 from vipulnsward/extract-date
senny Jan 14, 2015
be30de9
Merge pull request #18500 from nippysaurus/typo_fix
senny Jan 14, 2015
9a603e0
Merge pull request #18390 from tgxworld/parallel_bundle_install
rafaelfranca Jan 9, 2015
81eb8bf
Use a mustache version that works with Ruby 1.9
rafaelfranca Jan 14, 2015
cef1a82
Merge pull request #18521 from andrewvida/master
rafaelfranca Jan 14, 2015
cb27748
Properly retain type information when updating a record with a locking
sgrif Jan 14, 2015
5cd19f7
Don't use the `_before_type_cast` version of attributes in the form
sgrif Jan 14, 2015
5f63fef
Revert "Don't use the `_before_type_cast` version of attributes in th…
sgrif Jan 14, 2015
e500a28
Add tests with an explanation of why we're using `_before_type_cast`
sgrif Jan 14, 2015
3e74db6
Only use the `_before_type_cast` in the form when from user input
sgrif Jan 15, 2015
242c063
Merge pull request #18493 from twoller/master
senny Jan 17, 2015
235767b
Merge pull request #18566 from yuki24/fix-assertion-in-ar-case-date-time
carlosantoniodasilva Jan 17, 2015
ac832a4
no deprecation warning when including a scope with extensions.
senny Jan 18, 2015
c7d42f3
our changelogs use `Fixes #123` not Closes `#123`. [ci skip]
senny Jan 18, 2015
26c293e
Don't calculate in-place changes on attribute assignment
sgrif Jan 18, 2015
bf7f183
Fix typo in changelog [ci skip]
carlosantoniodasilva Jan 19, 2015
e25d3a3
An attribute cannot be mutated if it has not been read
sgrif Jan 20, 2015
918a307
Merge pull request #18621 from morgoth/error-message-on-validation-gu…
carlosantoniodasilva Jan 21, 2015
bbe170c
Merge pull request #18619 from morgoth/add-missing-dependency-to-acti…
carlosantoniodasilva Jan 21, 2015
7b49366
Fix test case class in the testing guide [ci skip]
rafaelfranca Jan 21, 2015
83e9005
Merge pull request #18557 from tjschuck/sanitize_doc_fixes
rafaelfranca Jan 20, 2015
62e9e61
Don't error when invalid json is assigned to a JSON column
sgrif Jan 21, 2015
430a095
Don't remove join dependencies in `Relation#exists?`
sgrif Jan 23, 2015
f4dd69e
Errors raised in `type_cast_for_database` no longer raise on assignment
sgrif Jan 23, 2015
fed7d7c
Move integer range validation to never raise on assignment
sgrif Jan 23, 2015
fc40cbb
Merge pull request #18474 from notEthan/pretty_print_inspect
sgrif Jan 23, 2015
a0e59fc
Renaming the autoloading guide [ci skip]
vijaydev Dec 20, 2014
ea0e63b
reflects changes in 34cd7e2 in the index [ci skip]
fxn Jan 5, 2015
836bb18
syncs constants guide with master [ci skip]
fxn Jan 24, 2015
346677b
Merge pull request #18678 from bryanbibat/windows_binstubs
senny Jan 25, 2015
7abfa1b
Test association was eager loaded, rather than reaching into internals
sgrif Jan 26, 2015
232115a
Improve consistency of counter caches updating in memory
sgrif Jan 26, 2015
ef7d79a
Don't redefine autosave association callbacks in nested attrs
sgrif Jan 28, 2015
6d65df5
Merge pull request #18654 from liseki/fix-aj-test-helper
rafaelfranca Jan 28, 2015
d64f38d
Merge pull request #18716 from tonytonyjan/typo
rafaelfranca Jan 28, 2015
e388d76
Always convert strings to UTF-8, regardless of column type in SQLite
sgrif Jan 28, 2015
47f64a9
Merge pull request #18719 from 5t111111/add-fix-for-loading-fixtures-…
senny Jan 29, 2015
0662db1
Merge pull request #18722 from bogdan/group-by-key-word
rafaelfranca Jan 29, 2015
174547f
require 'rails' if not include_all_railties, just as 'rails/all' does
amatsuda Jan 14, 2015
8e53c6f
Merge pull request #18736 from nonsensery/autoload-guide-grammar-fix
senny Jan 30, 2015
d9715fc
Always perform validations on nested attribute associations
sgrif Jan 30, 2015
0c03a22
Fix a state leak in `autosave_association_test`
sgrif Jan 30, 2015
03476a6
Allow keyword arguments to work with ActiveJob
sgrif Jan 30, 2015
605834c
fix kindlerb version [ci skip]
fxn Jan 31, 2015
60543fe
Cache `url_helpers`
eileencodes Feb 1, 2015
d0e7a05
Don't run keyword args test on MRI 1.9.3
pixeltrix Feb 2, 2015
a9a488b
Fix test failure on PG caused by 7c6f3938dee47f093
sgrif Jan 23, 2015
6a10078
Allow failures on Active Job integration tests
pixeltrix Feb 2, 2015
41f762a
Properly lookup the limit for bigint
sgrif Feb 2, 2015
3c2531d
Merge pull request #18791 from Sinjo/consistent-foreign-key-name-gene…
sgrif Feb 3, 2015
8b87a6d
`RouteSet` should not be listed in the public API [ci skip]
sgrif Feb 3, 2015
a0075de
Correct errors in counter cache updating
sgrif Feb 3, 2015
9789cce
Preserve the default format when generating URLs
tekin Feb 3, 2015
5084783
Merge pull request #18804 from tekin/dont-blat-default-format-4-2
pixeltrix Feb 3, 2015
bac812a
Don't remove all line endings from routes.rb
pixeltrix Feb 3, 2015
e43d96c
Respect custom primary keys for associations in `Relation#where`
sgrif Feb 4, 2015
bba071b
Merge pull request #18809 from meltheadorable/bugfix/postgres_money
sgrif Feb 4, 2015
1888eb8
Merge pull request #18820 from tycooon/transaction-rollback-fix
sgrif Feb 5, 2015
3348da5
Move ruby-head to allowed failures
sgrif Feb 5, 2015
4e00522
Whoops, I did that wrong [ci skip]
sgrif Feb 5, 2015
f1ddcb6
Force generated route to be inserted
pixeltrix Feb 5, 2015
67c4ca4
Merge branch 'rm-use-active-model-correctly'
rafaelfranca Feb 5, 2015
2e9c3b0
Mark some methods as nodoc
rafaelfranca Feb 5, 2015
0f4a848
backports changes to the AM::Dirty API [ci skip]
fxn Feb 6, 2015
a845757
applies guidelines to dirty.rb [ci skip]
fxn Feb 6, 2015
6bf2a5b
use parentheses here, for the beard of the Prophet! [ci skip]
fxn Feb 6, 2015
5bc9002
revises AM:Dirty example [Godfrey Chan & Xavier Noria]
fxn Feb 6, 2015
a3b17b3
Merge pull request #18834 from mfazekas/fix-i18-for-openstruct
rafaelfranca Feb 6, 2015
a0a6e02
nodoc TimeZone.zones_map as .all is the public API
arthurnn Feb 7, 2015
37e5770
Merge pull request #18602 from kamipo/respect_database_charset_and_co…
pixeltrix Feb 8, 2015
03b304c
Merge pull request #18850 from kamipo/fix_rounding_problem_for_postgr…
pixeltrix Feb 8, 2015
3189ef3
Merge pull request #18764 from tsun1215/master
pixeltrix Feb 8, 2015
dfa2cfa
Merge pull request #18462 from dmasur/patch-1
senny Jan 12, 2015
1dd57a5
Merge pull request #18841 from yuki24/remove-warning-from-av-tags-tra…
rafaelfranca Feb 9, 2015
5e8db42
Maintain a consistent order in `ActiveRecord::Base#attributes`
sgrif Feb 10, 2015
1df5eb3
Merge pull request #18860 from alex-handley/enhancement/dependent_doc…
rafaelfranca Feb 10, 2015
423467d
Merge pull request #18363 from andreynering/add-foreign-key-subsectio…
senny Feb 11, 2015
0230ad6
Add a `foreign_key` option to `references` and `add_reference`. [Sean…
senny Feb 11, 2015
97fc7bf
Revert 88d08f2ec9f89ba431cba8d0c06ac9ebc204bbbb
rafaelfranca Feb 11, 2015
72ffeb9
Properly dump primitive-like AS::SafeBuffer strings as YAML
chancancode Feb 12, 2015
bb4a294
Merge pull request #18907 from square/dont-load-app-on-structure
senny Feb 12, 2015
0d776b8
Merge pull request #18922 from yui-knk/fix/action_controller_overview
senny Feb 13, 2015
7785417
fix, `to_table` in `remove_foreign_key` should be plural.
senny Feb 16, 2015
01b70c9
Drop tables only when they exist
yahonda Feb 17, 2015
fab2b9a
Merge pull request #18977 from yahonda/drop_table_if_exists_4-2-stable
senny Feb 18, 2015
df7e05e
constants guide: adds a step to a resolution algorithm
fxn Feb 18, 2015
0af3dd4
Merge pull request #18984 from rousisk/master
carlosantoniodasilva Feb 18, 2015
b527961
Merge pull request #18992 from rails/rm-track-lock-file
rafaelfranca Feb 18, 2015
a9d2153
Talk about Gemfile.lock in the contributing guide
rafaelfranca Feb 18, 2015
e7feaff
Merge pull request #18917 from lautis/non-string-csrf-token
rafaelfranca Feb 18, 2015
dd7af2c
Merge pull request #19012 from LeandroSNunes/api_select_tag
rafaelfranca Feb 20, 2015
477fae3
Merge pull request #17138 from jpcody/rename_default_form_builder
rafaelfranca Feb 20, 2015
7582376
Merge pull request #18665 from sgrif/sg-test-route-all
sgrif Feb 20, 2015
93a6500
Merge pull request #17139 from mfazekas/fix_becomes_changed_attributes
rafaelfranca Feb 20, 2015
26d91f1
Merge pull request #19015 from antstorm/fix-cache-helper-erb-block-in…
rafaelfranca Feb 20, 2015
6888024
Merge branch 'rm-take' into 4-1-stable
rafaelfranca Feb 20, 2015
f5d2f3f
Merge pull request #18218 from brainopia/fix_match_shorthand_in_routes
rafaelfranca Feb 20, 2015
59bb184
Preparing for 4.2.1.rc1 release
rafaelfranca Feb 20, 2015
0399b71
Merge pull request #18744 from mfazekas/no-table-name-with-from
rafaelfranca Feb 24, 2015
4685e81
Call `attributes_for_update` in `_update_record` w/ optimistic locking
sgrif Feb 24, 2015
45b609c
Merge pull request #19076 from nygrenh/truncate-words-fix
rafaelfranca Feb 25, 2015
d48bb9c
Preparing for 4.2.1.rc2 release
rafaelfranca Feb 25, 2015
e9f562b
Don't error when passing an empty array to a polymorphic association
sgrif Feb 26, 2015
2503cf2
Fix regression introduced by 5cfe01e61b7eb5f280d246af714272d857c18c46
sgrif Feb 26, 2015
7878929
Merge pull request #19102 from ulissesalmeida/fix-regression-default-…
rafaelfranca Feb 27, 2015
dd989d0
Don't recommend to precompile all assets
rafaelfranca Feb 27, 2015
4e2754b
Preparing for 4.2.1.rc3 release
rafaelfranca Mar 2, 2015
ecd69d0
[ci skip] Fix indent
yui-knk Mar 4, 2015
e6d5d5d
Merge pull request #19196 from yui-knk/fix/changelog
fxn Mar 4, 2015
39c1d2e
Preserve Array#take(n) behaviour of HasManyAssociation
amatsuda Feb 27, 2015
9bd0ca4
Preparing for 4.2.1.rc4 release
rafaelfranca Mar 12, 2015
944a7ca
Merge pull request #19315 from josh/update-sprockets-links
rafaelfranca Mar 13, 2015
97a17dc
Merge pull request #19291 from hired/return-truthy-value-from-head
rafaelfranca Mar 13, 2015
1c9bc3e
Merge pull request #19406 from larskanis/add_changelog_entry_for_17680
senny Mar 19, 2015
b42f3fc
Merge pull request #19387 from arthurnn/fix_route_regression
Mar 19, 2015
f1ccb2e
Preparing for 4.2.1 release
rafaelfranca Mar 19, 2015
9684080
Fix change client_min_messages to warning level avoid error with Post…
nrogap May 16, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -5,7 +5,6 @@ debug.log
.Gemfile
/.bundle
/.ruby-version
/Gemfile.lock
pkg
/dist
/doc/rdoc
Expand Down
11 changes: 9 additions & 2 deletions .travis.yml
@@ -1,8 +1,12 @@
language: ruby
sudo: false
script: 'ci/travis.rb'
before_install:
- travis_retry gem install bundler
- "rvm current | grep 'jruby' && export AR_JDBC=true || echo"
- "rm ${BUNDLE_GEMFILE}.lock"
before_script:
- bundle update
cache: bundler
env:
global:
- JRUBY_OPTS='-J-Xmx1024M'
Expand All @@ -19,11 +23,13 @@ rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- ruby-head
- rbx-2
- jruby
matrix:
allow_failures:
- rvm: ruby-head
- rvm: 1.9.3
env: "GEM=ar:mysql"
- rvm: 2.0.0
Expand All @@ -32,6 +38,7 @@ matrix:
env: "GEM=ar:mysql"
- rvm: rbx-2
- rvm: jruby
- env: "GEM=aj:integration"
fast_finish: true
notifications:
email: false
Expand All @@ -45,7 +52,7 @@ notifications:
on_failure: always
rooms:
- secure: "YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="
bundler_args: --path vendor/bundle --without test
bundler_args: --without test --jobs 3 --retry 3
services:
- memcached
- redis
Expand Down
5 changes: 3 additions & 2 deletions Gemfile
Expand Up @@ -28,7 +28,8 @@ group :doc do
gem 'sdoc', '~> 0.4.0'
gem 'redcarpet', '~> 3.1.2', platforms: :ruby
gem 'w3c_validators'
gem 'kindlerb'
gem 'kindlerb', '0.1.1'
gem 'mustache', '~> 0.99.8'
end

# AS
Expand All @@ -41,7 +42,7 @@ group :job do
gem 'sidekiq', require: false
gem 'sucker_punch', require: false
gem 'delayed_job', require: false
gem 'queue_classic', "< 3.0.0", require: false, platforms: :ruby
gem 'queue_classic', require: false, platforms: :ruby
gem 'sneakers', '0.1.1.pre', require: false
gem 'que', require: false
gem 'backburner', require: false
Expand Down
273 changes: 273 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,273 @@
GIT
remote: git://github.com/bkeepers/qu.git
revision: d098e2657c92e89a6413bebd9c033930759c061f
branch: master
specs:
qu (0.2.0)
qu-rails (0.2.0)
qu (= 0.2.0)
railties (>= 3.2, < 5)
qu-redis (0.2.0)
qu (= 0.2.0)
redis-namespace

PATH
remote: .
specs:
actionmailer (4.2.1.rc1)
actionpack (= 4.2.1.rc1)
actionview (= 4.2.1.rc1)
activejob (= 4.2.1.rc1)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.1.rc1)
actionview (= 4.2.1.rc1)
activesupport (= 4.2.1.rc1)
rack (~> 1.6)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.1)
actionview (4.2.1.rc1)
activesupport (= 4.2.1.rc1)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.1)
activejob (4.2.1.rc1)
activesupport (= 4.2.1.rc1)
globalid (>= 0.3.0)
activemodel (4.2.1.rc1)
activesupport (= 4.2.1.rc1)
builder (~> 3.1)
activerecord (4.2.1.rc1)
activemodel (= 4.2.1.rc1)
activesupport (= 4.2.1.rc1)
arel (~> 6.0)
activesupport (4.2.1.rc1)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
rails (4.2.1.rc1)
actionmailer (= 4.2.1.rc1)
actionpack (= 4.2.1.rc1)
actionview (= 4.2.1.rc1)
activejob (= 4.2.1.rc1)
activemodel (= 4.2.1.rc1)
activerecord (= 4.2.1.rc1)
activesupport (= 4.2.1.rc1)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.1.rc1)
sprockets-rails
railties (4.2.1.rc1)
actionpack (= 4.2.1.rc1)
activesupport (= 4.2.1.rc1)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)

GEM
remote: https://rubygems.org/
specs:
amq-protocol (1.9.2)
arel (6.0.0)
backburner (0.4.6)
beaneater (~> 0.3.1)
dante (~> 0.1.5)
bcrypt (3.1.10)
beaneater (0.3.3)
benchmark-ips (2.1.1)
builder (3.2.2)
bunny (1.1.9)
amq-protocol (>= 1.9.2)
celluloid (0.16.0)
timers (~> 4.0.0)
coffee-rails (4.1.0)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.3.0)
coffee-script-source
execjs
coffee-script-source (1.9.0)
connection_pool (2.1.1)
dalli (2.7.2)
dante (0.1.5)
delayed_job (4.0.6)
activesupport (>= 3.0, < 5.0)
delayed_job_active_record (4.0.3)
activerecord (>= 3.0, < 5.0)
delayed_job (>= 3.0, < 4.1)
erubis (2.7.0)
execjs (2.3.0)
globalid (0.3.3)
activesupport (>= 4.1.0)
hike (1.2.3)
hitimes (1.2.2)
i18n (0.7.0)
jquery-rails (4.0.3)
rails-dom-testing (~> 1.0)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (1.8.2)
kindlerb (0.1.1)
mustache
nokogiri
loofah (2.0.1)
nokogiri (>= 1.5.9)
mail (2.6.3)
mime-types (>= 1.16, < 3)
metaclass (0.0.4)
mime-types (2.4.3)
mini_portile (0.6.2)
minitest (5.3.3)
mocha (0.14.0)
metaclass (~> 0.0.1)
mono_logger (1.1.0)
multi_json (1.10.1)
mustache (0.99.8)
mysql (2.9.1)
mysql2 (0.3.18)
nokogiri (1.6.6.2)
mini_portile (~> 0.6.0)
pg (0.18.1)
psych (2.0.13)
que (0.9.2)
queue_classic (3.1.0)
pg (>= 0.17, < 0.19)
racc (1.4.12)
rack (1.6.0)
rack-cache (1.2)
rack (>= 0.4)
rack-protection (1.5.3)
rack
rack-test (0.6.3)
rack (>= 1.0)
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.5)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.1)
loofah (~> 2.0)
rake (10.4.2)
rdoc (4.2.0)
redcarpet (3.1.2)
redis (3.2.1)
redis-namespace (1.5.1)
redis (~> 3.0, >= 3.0.4)
resque (1.25.2)
mono_logger (~> 1.0)
multi_json (~> 1.0)
redis-namespace (~> 1.3)
sinatra (>= 0.9.2)
vegas (~> 0.1.2)
resque-scheduler (4.0.0)
mono_logger (~> 1.0)
redis (~> 3.0)
resque (~> 1.25)
rufus-scheduler (~> 3.0)
ruby-prof (0.11.3)
rufus-scheduler (3.0.9)
tzinfo
sdoc (0.4.1)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
sequel (4.19.0)
serverengine (1.5.10)
sigdump (~> 0.2.2)
sidekiq (3.3.2)
celluloid (>= 0.16.0)
connection_pool (>= 2.1.1)
json
redis (>= 3.0.6)
redis-namespace (>= 1.3.1)
sigdump (0.2.2)
sinatra (1.4.5)
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4)
sneakers (0.1.1.pre)
bunny (~> 1.1.3)
serverengine
thor
thread
sprockets (2.12.3)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.2.4)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
sqlite3 (1.3.10)
stackprof (0.2.7)
sucker_punch (1.3.2)
celluloid (~> 0.16.0)
thor (0.19.1)
thread (0.1.5)
thread_safe (0.3.4)
tilt (1.4.1)
timers (4.0.1)
hitimes
turbolinks (2.5.3)
coffee-rails
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.7.0)
execjs (>= 0.3.0)
json (>= 1.8.0)
vegas (0.1.11)
rack (>= 1.0.0)
w3c_validators (1.2)
json
nokogiri

PLATFORMS
ruby

DEPENDENCIES
activerecord-jdbcmysql-adapter (>= 1.3.0)
activerecord-jdbcpostgresql-adapter (>= 1.3.0)
activerecord-jdbcsqlite3-adapter (>= 1.3.0)
backburner
bcrypt (~> 3.1.7)
benchmark-ips
coffee-rails (~> 4.1.0)
dalli (>= 2.2.1)
delayed_job
delayed_job_active_record
jquery-rails (~> 4.0)
json
kindlerb (= 0.1.1)
minitest (< 5.3.4)
mocha (~> 0.14)
mustache (~> 0.99.8)
mysql (>= 2.9.0)
mysql2 (>= 0.3.13)
nokogiri (>= 1.4.5)
pg (>= 0.15.0)
psych (~> 2.0)
qu-rails!
qu-redis
que
queue_classic
racc (>= 1.4.6)
rack-cache (~> 1.2)
rails!
rake (>= 10.3)
redcarpet (~> 3.1.2)
resque
resque-scheduler
ruby-prof (~> 0.11.2)
sdoc (~> 0.4.0)
sequel
sidekiq
sneakers (= 0.1.1.pre)
sqlite3 (~> 1.3.6)
stackprof
sucker_punch
turbolinks
uglifier (>= 1.3.0)
w3c_validators
2 changes: 1 addition & 1 deletion RAILS_VERSION
@@ -1 +1 @@
4.2.0.beta4
4.2.1
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -78,7 +78,7 @@ We encourage you to contribute to Ruby on Rails! Please check out the

## Code Status

* [![Build Status](https://travis-ci.org/rails/rails.svg?branch=master)](https://travis-ci.org/rails/rails)
* [![Build Status](https://travis-ci.org/rails/rails.svg?branch=4-2-stable)](https://travis-ci.org/rails/rails)

## License

Expand Down
7 changes: 7 additions & 0 deletions actionmailer/CHANGELOG.md
@@ -1,3 +1,10 @@
## Rails 4.2.1 (March 19, 2014) ##

* No changes *


## Rails 4.2.0 (December 20, 2014) ##

* `MailerGenerator` now generates layouts by default. The HTML mailer layout
now includes `<html>` and `<body>` tags which improve the spam rating in
some spam detection engines. Mailers now inherit from `ApplicationMailer`
Expand Down
2 changes: 1 addition & 1 deletion actionmailer/README.rdoc
Expand Up @@ -150,7 +150,7 @@ The latest version of Action Mailer can be installed with RubyGems:

Source code can be downloaded as part of the Rails project on GitHub

* https://github.com/rails/rails/tree/master/actionmailer
* https://github.com/rails/rails/tree/4-2-stable/actionmailer


== License
Expand Down
4 changes: 2 additions & 2 deletions actionmailer/lib/action_mailer/base.rb
Expand Up @@ -58,7 +58,7 @@ module ActionMailer
#
# The mail method, if not passed a block, will inspect your views and send all the views with
# the same name as the method, so the above action would send the +welcome.text.erb+ view
# file as well as the +welcome.text.html.erb+ view file in a +multipart/alternative+ email.
# file as well as the +welcome.html.erb+ view file in a +multipart/alternative+ email.
#
# If you want to explicitly render only certain templates, pass a block:
#
Expand Down Expand Up @@ -498,7 +498,7 @@ def mailer_name

# Sets the defaults through app configuration:
#
# config.action_mailer.default { from: "no-reply@example.org" }
# config.action_mailer.default(from: "no-reply@example.org")
#
# Aliased by ::default_options=
def default(value = nil)
Expand Down