Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump version of bcrypt gem | T.J. Schuck | 2014-02-25 | 4 | -7/+11 |
| | |||||
* | Merge pull request #14177 from yahonda/skip_tests_if_duplicate_index_not_allowed | Yves Senn | 2014-02-25 | 1 | -10/+13 |
|\ | | | | | Skip test_migrate_revert_add_index_with_name for some databases | ||||
| * | Skip test_migrate_revert_add_index_with_name if databases | Yasuo Honda | 2014-02-25 | 1 | -10/+13 |
| | | | | | | | | do not allow to create duplicate indexes on the same columns | ||||
* | | Optimize getting started guide images, and use png instead of jpg | Carlos Antonio da Silva | 2014-02-25 | 16 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We noticed the rails gem increased in size between the beta and rc versions, and the reason is that some guides images were updated but not properly optimized, and one image changed from png to jpg, way bigger. Converting the jpg image back to png, and using ImageOptim to optimize all the images for web view, improves the situation [ci skip]. --- In current master/4-1-stable: 508K guides/assets/images/getting_started/ In v4.1.0.beta1: 268K guides/assets/images/getting_started/ In 4-0-stable 328K guides/assets/images/getting_started/ After the patch: 260K guides/assets/images/getting_started/ | ||||
* | | :scissors: [ci skip] | Carlos Antonio da Silva | 2014-02-25 | 1 | -5/+5 |
|/ | |||||
* | Merge pull request #14193 from ys/patch-1 | Vijay Dev | 2014-02-25 | 1 | -1/+1 |
|\ | | | | | Add missing parantheses in index_exists? | ||||
| * | Add missing parantheses in index_exists? | Yannick Schutz | 2014-02-25 | 1 | -1/+1 |
| | | |||||
* | | Point master changelogs to 4-1-stable branch | Carlos Antonio da Silva | 2014-02-25 | 8 | -3831/+8 |
|/ | | | | Remove 4-1 related entries from master [ci skip] | ||||
* | `ActionDispatch::Head` was replaced by `Rack::Head`. Closes #14191. | Yves Senn | 2014-02-25 | 1 | -1/+0 |
| | | | | See 449039a86d802871b707dfb51ac1ed96d53526f9 for the original commit. | ||||
* | Merge pull request #14006 from Loremaster/strong_params_improvement | Xavier Noria | 2014-02-25 | 3 | -6/+28 |
|\ | | | | | Sungularize ActionController::UnpermittedParameters error in case when only 1 parameter is unpermitted. | ||||
| * | Simple Sungularize ActionController::UnpermittedParameters error in case ↵ | Serj L | 2014-02-24 | 3 | -6/+28 |
| | | | | | | | | when only 1 parameter is unpermitted. | ||||
* | | Merge pull request #14186 from ch33hau/standardized-punctuation | Yves Senn | 2014-02-25 | 1 | -3/+3 |
|\ \ | | | | | | | Standardized punctuation. | ||||
| * | | [skip ci] Standardized punctuation. | ch33hau | 2014-02-25 | 1 | -3/+3 |
|/ / | |||||
* | | Merge pull request #14182 from mecampbellsoup/fix_typo_in_url_helper_docs | Arthur Nogueira Neves | 2014-02-24 | 1 | -1/+1 |
|\ \ | | | | | | | [skip ci] Fixing typo in documentation: actionview/lib/action_view/helpers/url_helper.rb | ||||
| * | | [skip ci] Fix typo in link_to :method option description | Matt Campbell | 2014-02-24 | 1 | -1/+1 |
|/ / | |||||
* | | refactor, with_locale is not needed because I18n is mocked. | Yves Senn | 2014-02-24 | 1 | -7/+5 |
| | | | | | | | | | | This is a follow up to #14170. While backporting I recognized that this call is not needed at all. | ||||
* | | Merge pull request #14170 from kritik/master | Yves Senn | 2014-02-24 | 3 | -2/+20 |
|\ \ | | | | | | | there could be more than 10 nested records | ||||
| * | | Fix ActionView label translation for more than 10 nested elements | Vladimir Krylov | 2014-02-24 | 3 | -2/+20 |
|/ / | |||||
* | | Go with #presence_in instead of #present_in -- it doesnt sound quite as ↵ | David Heinemeier Hansson | 2014-02-24 | 3 | -7/+7 |
| | | | | | | | | good, but the closer relationship to #presence over #present is ultimately worth it | ||||
* | | refactor, extract `with_locale` helper. | Yves Senn | 2014-02-24 | 1 | -87/+79 |
| | | |||||
* | | build fix. follow up to 174c9f0df39cd338a4871f82794256cc64f68a81 | Yves Senn | 2014-02-24 | 1 | -1/+1 |
|/ | |||||
* | include names in model generator warning message. refs #13515. | Yves Senn | 2014-02-24 | 2 | -5/+7 |
| | | | | | | This is a follow up to #13515. It includes the name given and the singularized version in the warning message. This will aide the user to see wether the detected singular was right or not. | ||||
* | Merge pull request #10497 from senny/10485_does_not_coerce_strings | Yves Senn | 2014-02-24 | 4 | -7/+50 |
|\ | | | | | coerce strings when reading attributes | ||||
| * | Coerce strings when reading attributes. | Yves Senn | 2014-02-23 | 4 | -7/+50 |
| | | |||||
* | | Merge pull request #14171 from arthurnn/extract_middleware_cache | Guillermo Iguaran | 2014-02-23 | 2 | -32/+41 |
|\ \ | | | | | | | Extract local cache middleware | ||||
| * | | Extract local cache middleware | Arthur Neves | 2014-02-23 | 2 | -32/+41 |
| |/ | | | | | | | | | Extract LocalCache Middleware, so it can requires rack dependencies, without adding rack dependencies to `AS::Cache::Strategy::LocalCache`. | ||||
* | | Group assets options in production env template | Carlos Antonio da Silva | 2014-02-23 | 1 | -6/+4 |
| | | |||||
* | | Introduce Concern#class_methods and Kernel#concern | Jeremy Kemper | 2014-02-23 | 7 | -18/+113 |
|/ | |||||
* | Merge pull request #13793 from senny/postgres/dynamic_range_oid | Yves Senn | 2014-02-23 | 4 | -63/+147 |
|\ | | | | | Dynamically define PostgreSQL Range OIDs | ||||
| * | deprecate support for pg ranges with excluding beginnings. | Yves Senn | 2014-02-23 | 3 | -23/+78 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Ruby Range object does not support excluding beginnings. We currently support excluding beginnings for some subtypes using manually by incrementing them (now using the `#succ` method). This is approach is flawed as it's not equal to an excluding beginning. This commit deprecates the current support for excluding beginnings. It also raises an `ArgumentError` for subtypes that do not implement the `succ` method. This is a temporary solution to get rid of the broken state. We might still add complete support for excluding beginnings afterwards. (Probably with a new `PGRange` object, which acts like a `Range` but has excluding beginnings. | ||||
| * | dynamically define PostgreSQL OID range types. | Yves Senn | 2014-02-23 | 4 | -52/+81 |
| | | | | | | | | | | | | | | | | This gets AR working with custom defined range types. It also removes the need for subtype specific branches in `OID::Range`. This expands the interface of all `OID` types with the `infinity` method. It's responsible to provide a value for positive and negative infinity. | ||||
* | | update version to 4.2.0.alpha | Yves Senn | 2014-02-23 | 9 | -11/+11 |
|/ | |||||
* | Add tests for default scope behaviour change | Jon Leighton | 2014-02-23 | 2 | -0/+20 |
| | | | | See #13875 | ||||
* | Merge pull request #13515 from kuldeepaggarwal/f-model-generation | Godfrey Chan | 2014-02-22 | 5 | -12/+40 |
|\ | | | | | Added warning when user tried to create model with pluralize name. | ||||
| * | Add warning when user tried to create model with pluralize name. | Kuldeep Aggarwal | 2014-02-23 | 5 | -12/+40 |
| | | | | | | | | | | 1. Generate model with correct_name. 2. It will help new users to avoid mistakes when tried to create model with wrong name. | ||||
* | | Merge pull request #14164 from vajrasky/fix_typo_max_id | Guillermo Iguaran | 2014-02-22 | 1 | -1/+1 |
|\ \ | | | | | | | Fixed typo in comment about MAX_ID. | ||||
| * | | Fixed typo in comment about MAX_ID. | Vajrasky Kok | 2014-02-23 | 1 | -1/+1 |
| | | | |||||
* | | | Distinguish ConnectionNotEstablished messages: no conn pool for the class, ↵ | Jeremy Kemper | 2014-02-22 | 1 | -1/+4 |
| | | | | | | | | | | | | or no conn available from the pool | ||||
* | | | Merge pull request #14140 from WojtekKruszewski/optimize_foreign_key_for | Carlos Antonio da Silva | 2014-02-21 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Prevent foreign_key_for? from evaluating all attributes | ||||
| * | | | Prevent foreign_key_for? from type casting all attributes | Wojtek Kruszewski | 2014-02-21 | 1 | -1/+1 |
| | | | | |||||
* | | | | Revert "Only lookup `config.log_level` for stdlib `::Logger`. Closes #11665." | Guillermo Iguaran | 2014-02-21 | 3 | -26/+2 |
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e0a521cfcd13e4d1f0ae8ab96004289e1c020f71. Conflicts: railties/CHANGELOG.md We expect loggers to quack like stdlib logger. If log4r needs different level= assignment, using a Logger-quacking wrapper is the way to do it. Fixes #14114. | ||||
* | / | releasing Rails no longer needs triggering docs generation by hand [ci skip] | Xavier Noria | 2014-02-20 | 2 | -37/+0 |
| |/ |/| | | | | | | | | | GitHub is now able to notify tag creation, I have configured the webhook for the docs server to receive that event. Therefore, we no longer need to trigger docs generation manually when releasing. | ||||
* | | Merge pull request #14131 from kuldeepaggarwal/upgrade-rails-version | Arthur Nogueira Neves | 2014-02-20 | 1 | -2/+2 |
|\ \ | | | | | | | update guides to new version of rails 3.2.x, i.e. 3.2.17 [skip ci] | ||||
| * | | [ci skip] update guides to new version of rails 3.2.x | Kuldeep Aggarwal | 2014-02-21 | 1 | -2/+2 |
|/ / | |||||
* | | adding a test for #14106 | Aaron Patterson | 2014-02-20 | 1 | -0/+25 |
| | | |||||
* | | Revert "context in validation goes through has many relationship" | Aaron Patterson | 2014-02-20 | 4 | -27/+1 |
| | | | | | | | | This reverts commit 5e3d466d52fa4e9a42c3a1f8773a7c31da875e48. | ||||
* | | Merge pull request #14129 from joankaradimov/fix-render-to-string | Carlos Antonio da Silva | 2014-02-20 | 1 | -1/+3 |
|\ \ | | | | | | | Fix `render_to_string` when called via manually instantiated controllers | ||||
| * | | Check if the `request` variable isn't nil when calling render_to_string | Joan Karadimov | 2014-02-20 | 1 | -1/+3 |
| | | | | | | | | | | | | closes #14125 | ||||
* | | | Merge pull request #14086 from jingweno/master | Arthur Nogueira Neves | 2014-02-20 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Fix the javascript path in guide for asset modules [skip ci] | ||||
| * | | | [skip ci] Fix the javascript path in guide for asset modules | Jingwen Owen Ou | 2014-02-20 | 1 | -1/+1 |
| | | | |