Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | New CHANGELOG entries always on top [ci skip] | Rafael Mendonça França | 2013-02-25 | 1 | -4/+4 |
| | |||||
* | Merge pull request #9197 from yaotti/fix/overriden-attr-on-dup | Rafael Mendonça França | 2013-02-25 | 3 | -1/+13 |
|\ | | | | | Fix: Overriding attributes on `dup` by default scopes | ||||
| * | Do not override attributes on `dup` by default scopes | Hiroshige Umino | 2013-02-26 | 3 | -1/+13 |
|/ | |||||
* | Do not use --local option when installing the gems | Rafael Mendonça França | 2013-02-25 | 1 | -3/+3 |
| | |||||
* | Preparing for 4.0.0.beta1 release | David Heinemeier Hansson | 2013-02-25 | 15 | -15/+15 |
| | |||||
* | Revert "Use sass compressor as the default CSS compressor" | Guillermo Iguaran | 2013-02-25 | 1 | -1/+1 |
| | | | | | | | This reverts commit 3eef1c7c5d0c4538efb9e061b6fe68011f0352b1. The css compressor should be set in sass-rails plugin. Check https://github.com/rails/sass-rails/commit/339529f9f6433047df6358c0439e6641cb74f045 for the fix. | ||||
* | Use sass compressor as the default CSS compressor | Rafael Mendonça França | 2013-02-25 | 1 | -1/+1 |
| | | | | | | | With the new sprockets-rails we need to explicitly set the CSS compressor. See https://github.com/rails/sprockets-rails#changes-from-rails-3x | ||||
* | :scissors: | Rafael Mendonça França | 2013-02-25 | 1 | -1/+1 |
| | |||||
* | Merge pull request #8530 from dasch/dependency-trackers | David Heinemeier Hansson | 2013-02-25 | 4 | -45/+146 |
|\ | | | | | Custom dependency trackers for the template digestor | ||||
| * | Register trackers on extensions, not handlers | Daniel Schierbeck | 2013-02-20 | 3 | -11/+17 |
| | | |||||
| * | Rename ErbTracker to ERBTracker | Daniel Schierbeck | 2013-02-20 | 1 | -2/+2 |
| | | |||||
| * | Return an empty array if no tracker is found | Daniel Schierbeck | 2013-02-20 | 2 | -4/+16 |
| | | |||||
| * | Use a thread safe hash | Daniel Schierbeck | 2013-02-20 | 1 | -1/+3 |
| | | |||||
| * | Allow registering custom dependency trackers | Daniel Schierbeck | 2013-02-20 | 3 | -2/+54 |
| | | |||||
| * | Extract dependency tracking from Digestor | Daniel Schierbeck | 2013-02-20 | 2 | -44/+73 |
| | | |||||
* | | Merge pull request #9072 from htanata/statistics | David Heinemeier Hansson | 2013-02-25 | 4 | -46/+394 |
|\ \ | | | | | | | Improve `rake stats` for JavaScript and CoffeeScript | ||||
| * | | Improve `rake stats` for JavaScript and CoffeeScript. | Hendy Tanata | 2013-02-25 | 4 | -46/+394 |
| | | | | | | | | | | | | Ignore block comments and calculates number of functions. | ||||
* | | | Merge pull request #9412 from senny/clean_ar_changelog | Carlos Antonio da Silva | 2013-02-25 | 1 | -3/+7 |
|\ \ \ | | | | | | | | | Some minor AR changelog modifications [ci skip] | ||||
| * | | | some minor AR changelog modifications [ci skip] | Yves Senn | 2013-02-25 | 1 | -3/+7 |
|/ / / | |||||
* | | | Merge pull request #9409 from wangjohn/adding_documentation_to_touch | Carlos Antonio da Silva | 2013-02-25 | 1 | -0/+7 |
|\ \ \ | | | | | | | | | Added documentation to touch throwing an error | ||||
| * | | | Added documentation about how touch now throws an error when one tries | wangjohn | 2013-02-25 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | to use it on an unpersisted object. | ||||
* | | | | Merge pull request #9390 from chris-baynes/datetime_sec_fraction | Andrew White | 2013-02-25 | 3 | -1/+9 |
|\ \ \ \ | | | | | | | | | | | Keep second fraction when DateTime#change is called. | ||||
| * | | | | Keep second fraction when DateTime#change is called. | Chris Baynes | 2013-02-25 | 3 | -1/+9 |
|/ / / / | |||||
* | | | | Merge pull request #9411 from senny/add_auto_explain_removal_as_notable_change | Xavier Noria | 2013-02-25 | 1 | -0/+2 |
|\ \ \ \ | | | | | | | | | | | update 4.0 release notes to reflect the removal of auto explain. | ||||
| * | | | | update 4.0 release notes to reflect the removal of auto explain. | Yves Senn | 2013-02-25 | 1 | -0/+2 |
|/ / / / | |||||
* | | | | Merge pull request #9246 from Noemj/update_prepared_statements | Aaron Patterson | 2013-02-24 | 2 | -3/+26 |
|\ \ \ \ | |/ / / |/| | | | Changed update to use prepared statements | ||||
| * | | | Changed update_record to use prepared statements. | Noemj | 2013-02-11 | 2 | -3/+26 |
| | | | | |||||
* | | | | Merge pull request #9320 from wangjohn/touch_handling_on_new_instances | Guillermo Iguaran | 2013-02-24 | 3 | -0/+20 |
|\ \ \ \ | | | | | | | | | | | Raising an ActiveRecordError when one tries to use touch on a new record object | ||||
| * | | | | Raising an ActiveRecordError when one tries to use .touch(name) on a new | wangjohn | 2013-02-25 | 3 | -0/+20 |
|/ / / / | | | | | | | | | | | | | | | | | object that has not yet been persisted. This behavior follows the precedent set by update_columns. | ||||
* | / / | Revert "Simplify code in AS json encoder" | Guillermo Iguaran | 2013-02-25 | 1 | -8/+15 |
| |/ / |/| | | | | | | | | | | | | | | This reverts commit 046e27a7338f2961c10e9d133e0e2229b51c2ba8. Check https://github.com/rails/rails/pull/8815#issuecomment-14026122 for details. | ||||
* | | | Merge pull request #8815 from bogdan/simplified-to-json-args | Steve Klabnik | 2013-02-24 | 1 | -15/+8 |
|\ \ \ | | | | | | | | | AS JSON encoder: remove monkey patch of Array | ||||
| * | | | Simplify code in AS json encoder | Bogdan Gusiev | 2013-01-06 | 1 | -15/+8 |
| | | | | |||||
* | | | | Improve AR changelog [ci skip] | Carlos Antonio da Silva | 2013-02-24 | 1 | -2/+2 |
| | | | | |||||
* | | | | Add more information to the CHANGELOG entry [ci skip] | Rafael Mendonça França | 2013-02-24 | 1 | -0/+12 |
| | | | | |||||
* | | | | Merge pull request #9403 from stopdropandrew/TimeWithZone#to_r | Rafael Mendonça França | 2013-02-24 | 3 | -0/+19 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Added `ActiveSupport::TimeWithZone#to_r` for `Time#at` compatibility. Closes #9404 | ||||
| * | | | | Added `ActiveSupport::TimeWithZone#to_r` for `Time#at` compatibility. | stopdropandrew | 2013-02-24 | 3 | -0/+19 |
| | | | | | |||||
* | | | | | Remove warning | Rafael Mendonça França | 2013-02-24 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Make explicit the method will raise an exception | Rafael Mendonça França | 2013-02-24 | 1 | -10/+10 |
|/ / / / | | | | | | | | | | | | | Taking the wise advice of @carlosantoniodasilva | ||||
* | | | | did a pass over the AS changelog [ci skip] | Xavier Noria | 2013-02-24 | 1 | -55/+61 |
| | | | | |||||
* | | | | Merge pull request #9391 from senny/8663_broken_hmt_ordering_with_includes | Rafael Mendonça França | 2013-02-24 | 3 | -2/+13 |
|\ \ \ \ | | | | | | | | | | | don't apply invalid ordering when preloading hmt associations. | ||||
| * | | | | don't apply invalid ordering when preloading hmt associations. | Yves Senn | 2013-02-24 | 3 | -2/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes #8663. When preloading a hmt association there two possible scenarios: 1.) preload with 2 queries: first hm association, then hmt with id IN () 2.) preload with join: hmt association is loaded with a join on the hm association The bug was happening in scenario 1.) with a normal order clause on the hmt association. The ordering was also applied when loading the hm association, which resulted in the error. This patch only applies the ordering the the hm-relation if we are performing a join (2). Otherwise the order will only appear in the second query (1). | ||||
* | | | | | Merge pull request #9402 from senny/9356_update_guides | Rafael Mendonça França | 2013-02-24 | 1 | -9/+7 |
|\ \ \ \ \ | | | | | | | | | | | | | update the example for `after_commit` in the guides. | ||||
| * | | | | | update the example for `after_commit` in the guides. | Yves Senn | 2013-02-24 | 1 | -9/+7 |
| |/ / / / | | | | | | | | | | | | | | | | This is a follow up to #9356. | ||||
* | | | | | did a pass over the AM changelog [ci skip] | Xavier Noria | 2013-02-24 | 1 | -15/+35 |
| | | | | | |||||
* | | | | | Merge pull request #9401 from sikachu/master-remove-builder-option | Rafael Mendonça França | 2013-02-24 | 12 | -183/+7 |
|\ \ \ \ \ | |/ / / / |/| | | | | Remove `--builder` option from `rails` command | ||||
| * | | | | Remove `--builder` option from `rails` command | Prem Sichanugrist | 2013-02-24 | 12 | -183/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ability to use a custom builder by passing `--builder` (or `-b`) has been removed. Consider using application template instead. See this guide for more detail: http://guides.rubyonrails.org/rails_application_templates.html | ||||
* | | | | | Merge pull request #9400 from senny/remove_auto_explain_threshold_in_seconds | Xavier Noria | 2013-02-24 | 14 | -223/+39 |
|\ \ \ \ \ | | | | | | | | | | | | | remove config.auto_explain_threshold_in_seconds | ||||
| * | | | | | remove AR auto-explain (config.auto_explain_threshold_in_seconds) | Yves Senn | 2013-02-24 | 14 | -223/+39 |
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We discussed that the auto explain feature is rarely used. This PR removes only the automatic explain. You can still display the explain output for any given relation using `ActiveRecord::Relation#explain`. As a side-effect this should also fix the connection problem during asset compilation (#9385). The auto explain initializer in the `ActiveRecord::Railtie` forced a connection. | ||||
* | | | | | Use sprockets-rails 2.0.0.rc3 in new apps | Guillermo Iguaran | 2013-02-24 | 2 | -2/+2 |
| | | | | | |||||
* | | | | | Merge pull request #9399 from neerajdotname/7832-dependent-option | Rafael Mendonça França | 2013-02-24 | 1 | -2/+2 |
|\ \ \ \ \ | | | | | | | | | | | | | Updated doc to clarify about update_all and delete_all |