kennyj
ea70e027b6
Remove unreachable code, and add additional testcases.
2011-11-24 00:25:34 +09:00
Yehuda Katz
a93ee92da2
Merge pull request #3725 from marcandre/twz_eql
...
Fix inconsistencies with Time{WithZone}#{hash,eql?}
2011-11-22 13:01:37 -08:00
Yehuda Katz
9b7be78820
Merge pull request #3724 from marcandre/media_default
...
stylesheet_tag default's media is "screen"
2011-11-22 12:38:05 -08:00
Marc-Andre Lafortune
a4912078c7
Fix inconsistencies with Time{WithZone}#{hash,eql?}
2011-11-22 15:37:16 -05:00
Marc-Andre Lafortune
05e02deb68
Make explicit the default media when calling stylesheet_tag and change the default generators.
2011-11-22 15:16:23 -05:00
José Valim
b13b49ccc1
Merge pull request #3718 from lest/fix-javascript-include-tag
...
javascript_include_tag should add '.js' to sources that contain '.'
2011-11-22 09:45:11 -08:00
José Valim
39ecbfdab9
Merge pull request #3717 from lest/show-exceptions-refactor
...
Show exceptions refactor: controller should be responsible for choice to show exceptions
2011-11-22 07:19:39 -08:00
lest
3a1d51959b
deprecation warning, changelog entry
2011-11-22 17:36:58 +03:00
lest
aa491f6a9c
javascript_include_tag should add '.js' to sources that contain '.'
2011-11-22 16:39:07 +03:00
Vijay Dev
8cae31c800
remove nodoc on OrderedHash
2011-11-22 17:12:37 +05:30
lest
5bcd119b8d
move show_detailed_exceptions? to Rescue module
2011-11-22 13:34:13 +03:00
lest
c6d6b28bb4
refactor show exceptions tests
2011-11-22 11:38:55 +03:00
lest
a9e8cf78fd
add ActionController::Metal#show_detailed_exceptions?
2011-11-22 11:38:24 +03:00
Xavier Noria
8f57bf207f
tests predicates according to the boolean interpretation of their return value, not expecting specifically true or false
...
Respecting Genuine assert_equal false Edition
2011-11-21 14:22:16 -08:00
José Valim
401393b656
Deprecate InstanceMethods namespace handling in ActiveSupport::Concern.
...
This avoids the unnecessary "yo dawg, I heard you like include, so I put a module that includes your module when it is included" approach when building extensions.
2011-11-21 22:17:35 +00:00
Xavier Noria
f312e2142b
Revert "tests predicates according to the boolean interpretation of their return value, not expecting specifically true or false"
...
Reason: there were some genuine tests for false when
reading values, going to revise those ones.
This reverts commit a539a5e3f3 .
2011-11-21 14:14:11 -08:00
Xavier Noria
a539a5e3f3
tests predicates according to the boolean interpretation of their return value, not expecting specifically true or false
2011-11-21 14:11:40 -08:00
Xavier Noria
f3554777b2
cache entry: options[:compressed] is a regular flag, no need for !!
2011-11-21 14:01:53 -08:00
Xavier Noria
91678a5b29
adds a comment to clarify an edge case
2011-11-21 13:53:40 -08:00
Xavier Noria
60e3e218c2
a couple of spurious spaces I saw in passing
2011-11-21 22:11:31 +01:00
Vijay Dev
4c872c017b
Remove the -h option to dbconsole which is the shorter form of --header
...
This is done since the -h option to dbconsole hides the conventional
-h for help and forces users to use --help to see the usage options for
dbconsole.
2011-11-22 00:05:46 +05:30
Aaron Patterson
5d704fa152
oops! I suck! 💣
2011-11-20 15:11:11 -08:00
Aaron Patterson
008abd17dc
fixing tests on ruby 1.8
2011-11-20 15:09:03 -08:00
Aaron Patterson
26c542ba2c
Merge pull request #3701 from arunagw/arel_bump
...
Bump Arel
2011-11-19 23:17:26 -08:00
Arun Agrawal
be9d3a2008
Bump Arel
2011-11-20 12:27:25 +05:30
Aaron Patterson
599d7c40a4
removing deprecated methods
2011-11-19 20:43:04 -08:00
Aaron Patterson
3d2bd69385
Revert "copy options keys to the right place so that undo will work correctly"
...
This reverts commit 3178cc9a80 .
2011-11-19 20:35:54 -08:00
Aaron Patterson
24fa524cef
adding visitors to the respective adapters
2011-11-19 20:28:41 -08:00
Aaron Patterson
bd2f5c062d
pushing caching and visitors down to the connection
2011-11-19 20:19:53 -08:00
Santiago Pastorino
4cdd44e3e0
Merge pull request #3668 from gregolsen/api_docstring_fix
...
updating API docstring so that user can infer default value
2011-11-19 11:52:44 -08:00
José Valim
43158e58b2
Merge pull request #3696 from lest/fix-plugin-generator
...
fix rails plugin new CamelCasedName bug
2011-11-19 11:04:39 -08:00
lest
c220b4d833
fix warning about instance variable in plugin generator
2011-11-19 21:58:30 +03:00
lest
39d2251d8a
fix rails plugin new CamelCasedName bug
...
refs #3684
2011-11-19 19:09:09 +02:00
Yehuda Katz
bc04455f10
Merge pull request #3695 from tobiassvn/partial_path_error
...
Meaningful errors for unexpected partial arguments. Fixes #3573
2011-11-19 07:38:22 -08:00
Jon Leighton
fec85cf10d
Perf fix
...
If we're deleting all records in an association, don't add a IN(..)
clause to the query.
Fixes #3672 .
2011-11-19 14:11:29 +00:00
Jon Leighton
2ef4947ab0
Add missing CHANGELOG entry for #3678 . Closes #3678 .
2011-11-19 13:34:50 +00:00
Jon Leighton
603a679e87
Don't html-escape the :count option to translate if it's a Numeric. Fixes #3685 .
2011-11-19 13:28:07 +00:00
Jon Leighton
86b5e81e8a
Bump sprockets to 2.1.1
2011-11-19 13:08:34 +00:00
Tobias Svensson
771635e858
Meaningful errors for unexpected partial arguments. Fixes #3573
2011-11-19 13:05:57 +00:00
Jon Leighton
11afb74089
Merge pull request #3687 from kennyj/fix_3678-2
...
Use `show index from`. We could fix `pk_and_sequence_for` method's performance problem (GH #3678 )
2011-11-19 05:00:37 -08:00
Jon Leighton
9c37416a3e
Verify that #3690 has been closed by previous changes to the mysql
...
adapters.
These tests fail on the v3.1.2 tag.
Closes #3690 .
2011-11-19 12:34:15 +00:00
Yehuda Katz
89bbb6ce21
Merge pull request #3689 from arunagw/warning_removed_actionpack
...
Warning removed for shadowing variable
2011-11-18 22:42:14 -08:00
Arun Agrawal
d806ea2050
Warning removed for shadowing variable
2011-11-19 11:29:29 +05:30
kennyj
f9b9179016
Use show index from. We could fix pk_and_sequence_for method's performance problem (GH #3678 )
2011-11-19 04:19:31 +09:00
Aaron Patterson
396ef44be4
Revert "make sure to require the right deprecation warning file"
...
This reverts commit 9d725e3df502a07222f35576108eb2df2bd88259.
2011-11-18 10:51:12 -08:00
Aaron Patterson
99d94f126d
Refactoring the redirect method for the router api.
2011-11-18 10:51:12 -08:00
Aaron Patterson
d34efdd260
moving redirection to objects
2011-11-18 10:51:12 -08:00
Aaron Patterson
0809c675ef
remove the :path feature to redirects, since it cannot work
2011-11-18 10:51:11 -08:00
Aaron Patterson
a8a4264858
make sure to require the right deprecation warning file
2011-11-18 10:51:11 -08:00
Aaron Patterson
163b645472
arity check has been pushed up, so no need for proc wrapping
2011-11-18 10:51:11 -08:00