aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix routes with :controller segment when namespaced [#5034 state:resolved]José Valim2010-07-024-30/+63
| |
* | reload_routes! was still referencing old Rails::Application.José Valim2010-07-021-6/+5
| |
* | bump erubis version to 2.6.6 and thor version to 0.13.7Santiago Pastorino2010-07-023-4/+4
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Time has it own implementation of xmlschema, now AMo doesn't depend on TZInfoSantiago Pastorino2010-07-023-4/+7
| | | | | | | | | | | | [#4979 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
* | Unify routes naming by renaming router to routesPiotr Sarnacki2010-07-0215-37/+37
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | porting session.clear fix to master branch. [#5030 state:resolved]Aaron Patterson2010-07-012-0/+27
| | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | AS json refactor, move to_json implementation to core_ext and a cleanup a ↵Santiago Pastorino2010-07-016-36/+29
| | | | | | | | bit the code
* | Bump bundler dependency to 1.0.0.beta.2 or laterJeremy Kemper2010-07-013-2/+3
| |
* | Avoid calls to Rails::Application since this is not the official API.José Valim2010-07-0117-80/+55
| | | | | | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
* | fix failure if behavior is not define and try use the defaultCyril Mougel2010-07-012-1/+8
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Add the possibility to have several behaviors in AS::Deprecation.José Valim2010-07-014-3/+19
| |
* | Don't remove scheduled destroys when loading an association. [#4642 ↵James Le Cuirot2010-07-012-1/+12
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | Make relation a private method.José Valim2010-07-012-6/+7
|/
* Merge remote branch 'rails/master'Xavier Noria2010-06-30126-970/+5690
|\
| * Support any mysql-like adapterJeremy Kemper2010-06-301-7/+7
| |
| * add note of which configuration option to set in deprecation warning message ↵bodhi2010-06-301-3/+5
| | | | | | | | | | | | [#5012 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Improve the idiom used in multibyte chars a bit.José Valim2010-06-301-3/+3
| |
| * Fix ActiveSupport::Multibyte::Chars#slice for empty strings when starting ↵Alex Muntean2010-06-302-1/+3
| | | | | | | | | | | | offset is negative [#4717 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Update Unicode database to 5.2.0. [#5011 state:resolved]Norman Clarke2010-06-302-1/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Fix AS::MB::Chars#+ to not alter self [#4646 state:resolved]James MacAulay2010-06-302-8/+10
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Add missing CHANGELOG items.José Valim2010-06-301-0/+2
| |
| * A couple enhancements to the router:José Valim2010-06-302-27/+75
| | | | | | | | | | | | | | | | * Allow to use the get :symbol shortcut outside resources scopes as well; * Fix a bug where :action was not being picked from given options; * Giving :as option inside a resource now changes just the relative name instead of the full name;
| * Clean up the logic to specify the name and path for action a bit.José Valim2010-06-301-87/+51
| |
| * We are trying to test that & escapes here not that &amp; is being escaped, ↵Santiago Pastorino2010-06-291-3/+2
| | | | | | | | | | | | also added a cosmetic change to test_link_tag_with_query_and_no_name Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * performance tests now working accurately on 1.9, using Ruby with the GCdata ↵Gonçalo Silva2010-06-291-36/+18
| | | | | | | | patch
| * AssociationCollection#create_by_*, find_or_create_by_* work properly now. ↵Aaron Patterson2010-06-292-0/+73
| | | | | | | | | | | | [#1108 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * migrations.rb requires active_support/core_ext/module/aliasing [#5008 ↵Tekin2010-06-301-0/+1
| | | | | | | | | | | | state:committed] Signed-off-by: Xavier Noria <fxn@hashref.com>
| * s/escape_once/html_escape/, since html safety is the contract that now says ↵Xavier Noria2010-06-306-20/+25
| | | | | | | | whether something has to be escaped
| * url_for no longer escapes HTML, the :escape option is also goneXavier Noria2010-06-305-33/+14
| | | | | | | | Rationale: url_for is just a path/URL generator, it is the responsability of the caller to escape conveniently HTML needs it, JavaScript needs different escaping, a text mail needs no escaping at all, etc.
| * Change :notification to :notify (ht: m4n)José Valim2010-06-291-1/+1
| |
| * Add CHANGELOG for new deprecation stylewycats2010-06-291-0/+6
| |
| * _snowman CHANGELOG (dobry pies)wycats2010-06-291-0/+3
| |
| * Create a deprecation behavior that triggers a notification for deprecation ↵wycats2010-06-297-10/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | notices, and make the behaviors independent of the environment names. * In Rails 2.3 apps being upgraded, you will need to add the deprecation configuration to each of your environments. Failing to do so will result in the same behavior as Rails 2.3, but with an outputted warning to provide information on how to set up the setting. * New Rails 3 applications generate the setting * The notification style will send deprecation notices using ActiveSupport::Notifications. Third-party tools can listen in to these notifications to provide a streamlined view of the deprecation notices occurring in your app. * The payload in the notification is the deprecation warning itself as well as the callstack from the point that triggered the notification.
| * Test that adding an index also doesn't raise an exception.J. Pablo Fernández2010-06-291-1/+1
| | | | | | | | | | | | [#4809 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Replaced statement in comment with an assertionPaul Barry2010-06-291-2/+3
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Fixed error when removing an index from a table name values, which is a ↵J. Pablo Fernández2010-06-292-1/+17
| | | | | | | | | | | | reserved word, with test. Signed-off-by: José Valim <jose.valim@gmail.com>
| * No need to check if the attribute exists (this is the same behavior as in ↵José Valim2010-06-291-3/+1
| | | | | | | | 2.3) [#4994 state:resolved] and [#5003 state:resolved]
| * Push a failing test for issues [#4994] and [#5003].José Valim2010-06-293-1/+23
| |
| * Revert "Revert "Name compiled render methods". This caused several failures ↵Jeremy Kemper2010-06-291-8/+11
| | | | | | | | | | | | | | | | on AP test suite for 1.9.2." This reverts commit 9013227e00895ac95f29077229ec2fb156f450b0. minitest was 'running' compiled templates beginning with test!
| * Rename _snowman_ to _snowman to be in sync with _method and _csrf_token.José Valim2010-06-293-3/+3
| |
| * array subtraction should be faster than iterating over all the elementsNeeraj Singh2010-06-291-1/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * splitting a really long line into multiple lines which is easy on eyesNeeraj Singh2010-06-291-1/+5
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Remove ActiveRecord::Base#class_name [#379 state:committed]David Trasbo2010-06-292-27/+0
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Tidy up deprecation message for with_exclusive_scope.José Valim2010-06-292-11/+12
| |
| * Add scoping and unscoped as the syntax to replace the old with_scope and ↵José Valim2010-06-2910-250/+484
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with_exclusive_scope. A few examples: * with_scope now should be scoping: Before: Comment.with_scope(:find => { :conditions => { :post_id => 1 } }) do Comment.first #=> SELECT * FROM comments WHERE post_id = 1 end After: Comment.where(:post_id => 1).scoping do Comment.first #=> SELECT * FROM comments WHERE post_id = 1 end * with_exclusive_scope now should be unscoped: class Post < ActiveRecord::Base default_scope :published => true end Post.all #=> SELECT * FROM posts WHERE published = true Before: Post.with_exclusive_scope do Post.all #=> SELECT * FROM posts end After: Post.unscoped do Post.all #=> SELECT * FROM posts end Notice you can also use unscoped without a block and it will return an anonymous scope with default_scope values: Post.unscoped.all #=> SELECT * FROM posts
| * Revert "Name compiled render methods". This caused several failures on AP ↵José Valim2010-06-291-11/+8
| | | | | | | | | | | | test suite for 1.9.2. This reverts commit 2c4f8aae5ca8489bb3e47712f50b3f57015811d9.
| * Remove unneeded rejectSantiago Pastorino2010-06-281-8/+1
| |
| * with_exclusive_scope does not work properly if ARel is passed. It does work ↵Neeraj Singh2010-06-293-1/+26
| | | | | | | | | | | | | | | | nicely if hash is passed. Blow up if user is attempting it pass ARel to with_exclusive_scope. [#3838 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Use caller for helpers_dir deprecation warningsJeremy Kemper2010-06-281-2/+2
| |
| * Slice new buffer from beginning of old buffer to skip encoding special caseJeremy Kemper2010-06-281-3/+1
| |