José Valim
|
c7255386cd
|
script/generate mailer Notifier will now create a mailer at app/mailers.
|
2010-01-19 01:36:06 +01:00 |
|
José Valim
|
a18dd52d58
|
Get generators tests running on Ruby 1.9.1
|
2010-01-19 01:36:06 +01:00 |
|
José Valim
|
93d64dfefc
|
Improve script/generate help.
|
2010-01-19 01:36:06 +01:00 |
|
José Valim
|
e1029be1eb
|
Since Rails will require Ruby >= 1.8.7, we can rely on instance_exec.
|
2010-01-19 01:36:06 +01:00 |
|
Pratik Naik
|
e6a68a5cc3
|
Add Relation#find_with_associations to load relation with eager loaded associations
|
2010-01-19 04:42:19 +05:30 |
|
Joshua Peek
|
f2693cda44
|
Install plugin view paths into AM view load path
|
2010-01-18 16:48:04 -06:00 |
|
Joshua Peek
|
59cd044310
|
Add all folders in app/* to the load path
|
2010-01-18 15:37:58 -06:00 |
|
Pratik Naik
|
9e7ec2a9f1
|
Simplify calculation scope building. Remove :order from associations as it is troublesome w/ calculation methods using postgresql.
|
2010-01-18 23:40:42 +05:30 |
|
Pratik Naik
|
3c4186b366
|
Remove construct_calculation_arel_with_included_associations because it's same as construct_finder_arel_with_included_associations
|
2010-01-18 23:40:42 +05:30 |
|
Pratik Naik
|
893524382a
|
No need to pass current_scoped_methods to construct_calculation_arel everytime
|
2010-01-18 23:40:42 +05:30 |
|
José Valim
|
728db5a932
|
Rake tasks should load generators from new paths.
|
2010-01-18 18:22:55 +01:00 |
|
Joshua Peek
|
68b76a38eb
|
Cleanup deprecation notices.
|
2010-01-18 09:49:38 -06:00 |
|
Paco Guzman
|
e27bfad6a5
|
Forgot to change named_scope to scope in an ArgumentError raise exception for duplication scopes related to commit d60bb0a9e4be [#3736 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-01-18 16:36:08 +01:00 |
|
José Valim
|
a2b76d1dde
|
Improve generators help.
|
2010-01-18 16:21:11 +01:00 |
|
José Valim
|
61f77b1dcd
|
More cleaning up on rails generators load path.
|
2010-01-18 16:21:11 +01:00 |
|
José Valim
|
9fffdc5cdb
|
Generators load path now will be Ruby load path. If you want to use rspec:install generator, you need generators/rspec/install_generator in your load path.
|
2010-01-18 16:21:11 +01:00 |
|
José Valim
|
e75ea47434
|
Automatically remove :generators: from namespaces.
|
2010-01-18 16:21:10 +01:00 |
|
José Valim
|
a2e2e73c5e
|
Ensure generators can be invoked by their shortcut and remove attr_reader tasks.
|
2010-01-18 16:21:10 +01:00 |
|
Pratik Naik
|
4c00c65c58
|
Simplify construct_finder_arel_* methods
|
2010-01-18 19:40:23 +05:30 |
|
Pratik Naik
|
2a2bc8e84a
|
Handle invalid query IN() generated when a blank array is supplied in hash conditions
|
2010-01-18 18:56:55 +05:30 |
|
Pratik Naik
|
8bb5274648
|
Get rid of Relation#order_clauses
|
2010-01-18 18:56:55 +05:30 |
|
Pratik Naik
|
8ba2902dd4
|
Fix the named_scope deprecation notice
|
2010-01-18 18:56:55 +05:30 |
|
José Valim
|
40c4a0036a
|
Ensure deprecated validate methods are invoked when they are private [#3214 status:resolved]
|
2010-01-18 09:56:36 +01:00 |
|
Damien Mathieu
|
38c2e4687f
|
Missing rename from named_scope to scope [#3735 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-01-18 09:33:36 +01:00 |
|
Joshua Peek
|
c29bb8857e
|
Clear out AS callback method pollution in AC::Base.action_methods
|
2010-01-17 22:06:28 -06:00 |
|
Joshua Peek
|
58fe3295fe
|
Base#action_methods delegates to Base.action_methods
|
2010-01-17 21:51:07 -06:00 |
|
Joshua Peek
|
eeba755a11
|
Accessing nonexistant cookies through the signed jar should not raise an
exception
|
2010-01-17 21:31:06 -06:00 |
|
Pratik Naik
|
6ce538d485
|
Add missing CHANGELOG entry about relations as scopes
|
2010-01-18 04:42:04 +05:30 |
|
Pratik Naik
|
d60bb0a9e4
|
Rename named_scope to scope
|
2010-01-18 04:38:19 +05:30 |
|
Pratik Naik
|
e1d507c7fb
|
Dont check for class equaity when merging relations
|
2010-01-18 04:28:21 +05:30 |
|
Pratik Naik
|
88de6b2de2
|
Inherit named scope class Scope from Relation
|
2010-01-18 04:24:24 +05:30 |
|
Pratik Naik
|
c6850d8361
|
Ensure that Scope#proxy_scope is always klass. Rename proxy_scope to klass too.
|
2010-01-18 00:03:18 +05:30 |
|
Pratik Naik
|
dca3de3bc7
|
Make relations work as scopes
|
2010-01-17 23:22:11 +05:30 |
|
Pratik Naik
|
f0cde5be54
|
Make sure named_scope names are not used as method names already
|
2010-01-17 21:34:41 +05:30 |
|
Sam Elliott and Santiago Pastorino
|
5a6596787b
|
Module lookup issue on flash_test using ruby 1.9 solved [#3716 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-01-17 16:57:14 +01:00 |
|
Prem Sichanugrist
|
eb67532bc1
|
Make local_request? to returns true when facing ::1 IPv6 address [#3257 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-01-17 16:56:54 +01:00 |
|
Rizwan Reza
|
a0dc6cc70b
|
Fix RAILS_ROOT deprecation on guides generation. [#3710 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-01-17 16:28:31 +01:00 |
|
José Valim
|
44a10a2440
|
Fix resources_path_names branch which was sending an array as entity. [#3715 status:resolved]
|
2010-01-17 16:18:14 +01:00 |
|
José Valim
|
58136e1bd3
|
Plugin generator should use templates.
|
2010-01-17 15:17:50 +01:00 |
|
Rizwan Reza
|
e3898bda9c
|
Take --skip-activerecord into account boot.rb requires. [#3711 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-01-17 14:55:11 +01:00 |
|
Rizwan Reza
|
cf109342a7
|
Fixes rake:template task [#3714 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-01-17 14:54:49 +01:00 |
|
Santiago Pastorino
|
8268d68b50
|
mail.create_path returns an array test fixed [#3712 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-01-17 14:54:06 +01:00 |
|
Samuel Elliott
|
31ea83eb89
|
Adding Proc support to validation messages so that they can become a little more dynamic, allowing for customisations during the request [#3514 status:resolved].
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-01-17 14:40:10 +01:00 |
|
José Valim
|
c0d31ca41b
|
save(false) is gone, use save(:validate => false) instead.
|
2010-01-17 14:22:34 +01:00 |
|
José Valim
|
020e656447
|
Move middleware builder back to Rails::Rack::Metal without losing the new behavior.
|
2010-01-17 13:23:38 +01:00 |
|
José Valim
|
27d9836ad3
|
Add ActionDispatch::Railties::Subscriber and finish tidying up the logging.
|
2010-01-17 12:43:17 +01:00 |
|
José Valim
|
61ada28ed3
|
Get rid of prepare_each_request, since now it's a middleware initialization parameter.
|
2010-01-17 11:44:04 +01:00 |
|
José Valim
|
8f5e733998
|
Add notifications to default middleware stack and update subscriber tests.
|
2010-01-17 11:35:48 +01:00 |
|
José Valim
|
0334f9f6cf
|
Add ActionDispatch::Notifications middleware.
|
2010-01-17 11:29:51 +01:00 |
|
José Valim
|
afd0c06dfa
|
Validates needs hash slice.
|
2010-01-17 09:57:16 +01:00 |
|