Neeraj Singh
4bf1ecd6d8
Removed support for deprecated counter_sql
2013-07-02 17:54:16 +05:30
Carlos Antonio da Silva
173d4b9d93
Merge pull request #11240 from neerajdotname/remove-not-useful-test
...
Removing not useful test related to reflect_on_all_associations
2013-07-02 05:16:19 -07:00
Carlos Antonio da Silva
044e769b42
Merge pull request #11244 from ccarruitero/testing-guide
...
update test names in testing guide [ci-skip]
2013-07-02 05:14:24 -07:00
Cesar Carruitero
a028b16db8
update test names in testing guide [ci-skip]
2013-07-02 06:34:02 -05:00
Neeraj Singh
1a560e6160
Removing not useful test related to reflect_on_all_associations
...
The comment in the test pretty much summarizes the issue.
`FIXME these assertions bust a lot`
Adding any type of association in class `Firm` will break this test.
I removed some deprecated stuff and this test failed.
I do not think this test provides any useful value. First of all who
counted last that 39 is the right number of associations.
Secondly there are a large number of tests which depend on reflection
returning right information about associations. Those tests will start
failing if there is a bug in the code.
2013-07-02 12:14:16 +05:30
Yves Senn
20b3704524
Merge pull request #11236 from vipulnsward/deprecate_date_to_time_in_current_zone
...
Remove deprecated `Date#to_time_in_current_zone`
2013-07-01 23:00:22 -07:00
Vipul A M
4bec1da79b
Remove deprecated Date#to_time_in_current_zone
2013-07-02 11:22:19 +05:30
Yves Senn
ac54b2e85d
Merge pull request #11237 from vipulnsward/remove_whiny_nils
...
Remove deprecated `config.whiny_nils`
2013-07-01 22:47:30 -07:00
Vipul A M
d50483b048
Remove deprecated config.whiny_nils
2013-07-02 09:25:08 +05:30
Rafael Mendonça França
9aaa3111b0
Use block instead passing as argument
2013-07-02 00:24:51 -03:00
Rafael Mendonça França
c60a4853ab
Merge pull request #11233 from frodsan/remove_page_cache_extension_method
...
Remove `page_cache_extension` method
2013-07-01 20:21:12 -07:00
Francesco Rodriguez
fa45401b82
Remove page_cache_extension
deprecated method
2013-07-01 22:09:11 -05:00
Rafael Mendonça França
260c2015b3
Merge pull request #10604 from neerajdotname/delete_all_should_not_call_callbacks
...
Do not invoke callbacks when delete_all is called
Conflicts:
activerecord/CHANGELOG.md
2013-07-01 23:41:32 -03:00
Rafael Mendonça França
7f35c40902
Merge pull request #11229 from neerajdotname/deprecated-default-scope
...
calling default_scope without a proc will raise ArgumentError
2013-07-01 19:40:42 -07:00
Neeraj Singh
71db2420a1
calling default_scope without a proc will raise ArgumentError
...
Calling default_scope without a proc will now raise `ArgumentError`.
2013-07-02 08:07:33 +05:30
Rafael Mendonça França
aa3ff85f47
Merge pull request #11230 from frodsan/remove_deprecated_clear_stale_cached_connections_method
...
Remove AR::Connection#clear_stale_cached_connections! deprecated method
2013-07-01 19:33:12 -07:00
Rafael Mendonça França
1502667063
Merge pull request #11231 from neerajdotname/deprecated-type-cast-code
...
Removed deprecated method type_cast_code from Column
2013-07-01 19:30:43 -07:00
Francesco Rodriguez
e7e49a0734
Remove deprecated AR::Connection#clear_stale_cached_connections! method
2013-07-01 21:12:51 -05:00
Neeraj Singh
cfc54e417d
Removed deprecated method type_cast_code from Column
2013-07-02 07:37:51 +05:30
Carlos Antonio da Silva
f62fb985b6
Remove deprecated Proc#bind
with no replacement.
2013-07-01 22:38:28 -03:00
Carlos Antonio da Silva
1c06bd17a9
Remove deprecated Array#uniq_by and Array#uniq_by!
...
Use native Array#uniq and Array#uniq! instead.
2013-07-01 22:33:42 -03:00
Carlos Antonio da Silva
cad3a13086
Remove deprecated AS::BasicObject, use AS::ProxyObject instead
2013-07-01 22:26:54 -03:00
Carlos Antonio da Silva
4b97ce5eb1
Remove deprecated constants from Action Controller
...
ActionController::AbstractRequest => ActionDispatch::Request
ActionController::Request => ActionDispatch::Request
ActionController::AbstractResponse => ActionDispatch::Response
ActionController::Response => ActionDispatch::Response
ActionController::Routing => ActionDispatch::Routing
ActionController::Integration => ActionDispatch::Integration
ActionController::IntegrationTest => ActionDispatch::IntegrationTest
2013-07-01 22:20:23 -03:00
Aaron Patterson
1f75319a9a
avoid intermediate zipped array
2013-07-01 18:06:25 -07:00
Aaron Patterson
6cd8e3f58e
make the identity type a singleton to save on object creation
2013-07-01 18:00:52 -07:00
Aaron Patterson
b7aba569c8
only deal with strings internally
2013-07-01 17:56:47 -07:00
Rafael Mendonça França
11c2e80bab
Merge pull request #11222 from neerajdotname/removed-deprecation-for-sql
...
Removed deprecated options for assocations
2013-07-01 17:55:20 -07:00
Aaron Patterson
6518f12b73
build an AST rather than slapping strings together
2013-07-01 17:54:40 -07:00
Neeraj Singh
a8c888cca9
Removed deprecated options for assocations
...
Deprecated options `delete_sql`, `insert_sql`, `finder_sql` and `counter_sql`
have been deleted.
2013-07-02 06:22:25 +05:30
Carlos Antonio da Silva
1144d5e4a1
Remove deprecation messages about protected_attributes and rails-observers
2013-07-01 21:36:15 -03:00
Aaron Patterson
5cba5530ac
stop exposing the underlying alias datastructure
2013-07-01 17:33:47 -07:00
Aaron Patterson
b9d98597cc
we don't need to to_s the column
2013-07-01 16:55:10 -07:00
Carlos Antonio da Silva
9d0a65320f
Add missing require
...
Commit cfa35c55bb38b27af305ad21408e181bc3cd739e removed the
buffered_logger from AS, which required the logger file. Now we need to
add the proper require here.
2013-07-01 20:49:17 -03:00
Aaron Patterson
d094aaad19
the data structure used to store attribute aliases should not be exposed
2013-07-01 16:23:08 -07:00
Yves Senn
a444ea3478
remove deprecated ActiveRecord::Base#connection
method.
2013-07-01 22:44:24 +02:00
Yves Senn
5339442028
Merge pull request #11227 from vipulnsward/form_builder
...
Remove `FormBuilder` deprecation warning about block argument and tests
2013-07-01 13:39:04 -07:00
Vipul A M
38aafc0377
Remove FormBuilder
deprecation warning about block argument and associated tests
2013-07-02 02:06:39 +05:30
Yves Senn
dc9ff7bb7c
remove auto-explain-config deprecation warning
2013-07-01 22:18:49 +02:00
Yves Senn
cfa35c55bb
remove deprecated BufferedLogger
.
2013-07-01 22:16:37 +02:00
Rafael Mendonça França
cd74f0292f
Merge pull request #11224 from senny/remove_assert_blank_and_assert_present
...
remove deprecated `assert_present` and `assert_blank`.
2013-07-01 13:15:01 -07:00
Rafael Mendonça França
b6e061459b
Merge pull request #11226 from senny/remove_deprecated_distinct_option
...
Remove deprecated `:distinct` option from `Relation#count`.
2013-07-01 13:13:57 -07:00
Yves Senn
2181832fca
Remove deprecated :distinct
option from Relation#count
.
2013-07-01 22:11:20 +02:00
Yves Senn
74ebc451c9
remove deprecated assert_present
and assert_blank
.
2013-07-01 22:06:26 +02:00
Carlos Antonio da Silva
259161881f
Merge pull request #11220 from aditya-kapoor/add-concern
...
Change Rails Migration generator module to use AS::Concern
2013-07-01 12:47:00 -07:00
Carlos Antonio da Silva
a91b48e279
Merge pull request #11221 from neerajdotname/partial_updates_family
...
Removed deprecated methods partial_updates and family
2013-07-01 12:44:42 -07:00
Neeraj Singh
1f45d3c94d
Removed deprecated methods partial_updates and family
...
Removed deprecated methods `partial_updates`, `partial_updates?` and
`partial_updates=`
2013-07-02 00:50:50 +05:30
Rafael Mendonça França
42cf96fe9c
Merge pull request #11213 from neerajdotname/scoped-deprecated
...
Removed deprecated scoped method
Conflicts:
activerecord/CHANGELOG.md
2013-07-01 15:48:29 -03:00
Rafael Mendonça França
00550b57b6
Merge pull request #11212 from neerajdotname/default_scopes_q_deprecated
...
Removed deprecated default_scopes?
2013-07-01 11:46:08 -07:00
Rafael Mendonça França
ab6601ccdf
Merge pull request #11203 from schneems/schneems/plugin_new-plugin
...
s/plugin_new/plugin
2013-07-01 11:36:47 -07:00
Neeraj Singh
b343abd875
Removed deprecated method scoped
2013-07-01 23:02:08 +05:30