Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | porting session.clear fix to master branch. [#5030 state:resolved] | Aaron Patterson | 2010-07-01 | 2 | -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 Pastorino | 2010-07-01 | 6 | -36/+29 | |
| | | | | | | | | bit the code | |||||
* | | Bump bundler dependency to 1.0.0.beta.2 or later | Jeremy Kemper | 2010-07-01 | 3 | -2/+3 | |
| | | ||||||
* | | Avoid calls to Rails::Application since this is not the official API. | José Valim | 2010-07-01 | 17 | -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 default | Cyril Mougel | 2010-07-01 | 2 | -1/+8 | |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | Add the possibility to have several behaviors in AS::Deprecation. | José Valim | 2010-07-01 | 4 | -3/+19 | |
| | | ||||||
* | | Don't remove scheduled destroys when loading an association. [#4642 ↵ | James Le Cuirot | 2010-07-01 | 2 | -1/+12 | |
| | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | Make relation a private method. | José Valim | 2010-07-01 | 2 | -6/+7 | |
|/ | ||||||
* | Merge remote branch 'rails/master' | Xavier Noria | 2010-06-30 | 126 | -970/+5690 | |
|\ | ||||||
| * | Support any mysql-like adapter | Jeremy Kemper | 2010-06-30 | 1 | -7/+7 | |
| | | ||||||
| * | add note of which configuration option to set in deprecation warning message ↵ | bodhi | 2010-06-30 | 1 | -3/+5 | |
| | | | | | | | | | | | | [#5012 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| * | Improve the idiom used in multibyte chars a bit. | José Valim | 2010-06-30 | 1 | -3/+3 | |
| | | ||||||
| * | Fix ActiveSupport::Multibyte::Chars#slice for empty strings when starting ↵ | Alex Muntean | 2010-06-30 | 2 | -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 Clarke | 2010-06-30 | 2 | -1/+1 | |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| * | Fix AS::MB::Chars#+ to not alter self [#4646 state:resolved] | James MacAulay | 2010-06-30 | 2 | -8/+10 | |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| * | Add missing CHANGELOG items. | José Valim | 2010-06-30 | 1 | -0/+2 | |
| | | ||||||
| * | A couple enhancements to the router: | José Valim | 2010-06-30 | 2 | -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é Valim | 2010-06-30 | 1 | -87/+51 | |
| | | ||||||
| * | We are trying to test that & escapes here not that & is being escaped, ↵ | Santiago Pastorino | 2010-06-29 | 1 | -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 Silva | 2010-06-29 | 1 | -36/+18 | |
| | | | | | | | | patch | |||||
| * | AssociationCollection#create_by_*, find_or_create_by_* work properly now. ↵ | Aaron Patterson | 2010-06-29 | 2 | -0/+73 | |
| | | | | | | | | | | | | [#1108 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
| * | migrations.rb requires active_support/core_ext/module/aliasing [#5008 ↵ | Tekin | 2010-06-30 | 1 | -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 Noria | 2010-06-30 | 6 | -20/+25 | |
| | | | | | | | | whether something has to be escaped | |||||
| * | url_for no longer escapes HTML, the :escape option is also gone | Xavier Noria | 2010-06-30 | 5 | -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é Valim | 2010-06-29 | 1 | -1/+1 | |
| | | ||||||
| * | Add CHANGELOG for new deprecation style | wycats | 2010-06-29 | 1 | -0/+6 | |
| | | ||||||
| * | _snowman CHANGELOG (dobry pies) | wycats | 2010-06-29 | 1 | -0/+3 | |
| | | ||||||
| * | Create a deprecation behavior that triggers a notification for deprecation ↵ | wycats | 2010-06-29 | 7 | -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ández | 2010-06-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | [#4809 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| * | Replaced statement in comment with an assertion | Paul Barry | 2010-06-29 | 1 | -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ández | 2010-06-29 | 2 | -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é Valim | 2010-06-29 | 1 | -3/+1 | |
| | | | | | | | | 2.3) [#4994 state:resolved] and [#5003 state:resolved] | |||||
| * | Push a failing test for issues [#4994] and [#5003]. | José Valim | 2010-06-29 | 3 | -1/+23 | |
| | | ||||||
| * | Revert "Revert "Name compiled render methods". This caused several failures ↵ | Jeremy Kemper | 2010-06-29 | 1 | -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é Valim | 2010-06-29 | 3 | -3/+3 | |
| | | ||||||
| * | array subtraction should be faster than iterating over all the elements | Neeraj Singh | 2010-06-29 | 1 | -1/+1 | |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| * | splitting a really long line into multiple lines which is easy on eyes | Neeraj Singh | 2010-06-29 | 1 | -1/+5 | |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| * | Remove ActiveRecord::Base#class_name [#379 state:committed] | David Trasbo | 2010-06-29 | 2 | -27/+0 | |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| * | Tidy up deprecation message for with_exclusive_scope. | José Valim | 2010-06-29 | 2 | -11/+12 | |
| | | ||||||
| * | Add scoping and unscoped as the syntax to replace the old with_scope and ↵ | José Valim | 2010-06-29 | 10 | -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é Valim | 2010-06-29 | 1 | -11/+8 | |
| | | | | | | | | | | | | test suite for 1.9.2. This reverts commit 2c4f8aae5ca8489bb3e47712f50b3f57015811d9. | |||||
| * | Remove unneeded reject | Santiago Pastorino | 2010-06-28 | 1 | -8/+1 | |
| | | ||||||
| * | with_exclusive_scope does not work properly if ARel is passed. It does work ↵ | Neeraj Singh | 2010-06-29 | 3 | -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 warnings | Jeremy Kemper | 2010-06-28 | 1 | -2/+2 | |
| | | ||||||
| * | Slice new buffer from beginning of old buffer to skip encoding special case | Jeremy Kemper | 2010-06-28 | 1 | -3/+1 | |
| | | ||||||
| * | Name compiled render methods | Jeremy Kemper | 2010-06-28 | 1 | -8/+11 | |
| | | ||||||
| * | returning -> tap | Jeremy Kemper | 2010-06-28 | 1 | -5/+4 | |
| | | ||||||
| * | ETag: use body instead of @body since the method will always return a string | Jeremy Kemper | 2010-06-28 | 1 | -2/+2 | |
| | | ||||||
| * | Don't store incorrect values in zones_map | Santiago Pastorino | 2010-06-28 | 3 | -5/+7 | |
| | | | | | | | | | | | | [#4942 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| * | test that unknown zones don't store mapping keys | Leigh Caplan | 2010-06-28 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | [#4942] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> Signed-off-by: José Valim <jose.valim@gmail.com> |