Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allows you to check if an attribute has changed to a particular value | Tejas Dinkar | 2013-12-15 | 3 | -2/+22 |
| | | | | model.name_changed?(from: "Pete", to: "Ringo") | ||||
* | Merge pull request #13181 from fluxusfrequency/patch-4 | Robin Dupret | 2013-12-14 | 1 | -221/+603 |
|\ | | | | | Clarification, grammar fixes, punctuation, and capitalization [ci skip] | ||||
| * | Word wrapping engines guide [ci skip] | Ben Lewis | 2013-12-14 | 1 | -189/+568 |
| | | |||||
| * | Clarification, grammar fixes, punctuation, and capitalization [ci skip] | Ben Lewis | 2013-12-14 | 1 | -84/+87 |
| | | |||||
* | | Merge pull request #13325 from kuldeepaggarwal/docs-update | Guillermo Iguaran | 2013-12-14 | 4 | -4/+4 |
|\ \ | | | | | | | Improved documents [ci skip] | ||||
| * | | Improved documents [ci skip] | Kuldeep Aggarwal | 2013-12-14 | 4 | -4/+4 |
|/ / | |||||
* | | Merge pull request #13324 from fphilipe/fix-syntax-error-in-example | Rafael Mendonça França | 2013-12-14 | 1 | -1/+1 |
|\ \ | | | | | | | Fix syntax error in redirect_to example | ||||
| * | | Fix syntax error in redirect_to example | Philipe Fatio | 2013-12-14 | 1 | -1/+1 |
|/ / | | | | | | | | | Without parenthesis, ruby assumes that curly braces denote the beginning of a block. | ||||
* | | Merge pull request #13316 from JuanitoFatas/working-with-js | Godfrey Chan | 2013-12-14 | 1 | -5/+15 |
|\ \ | | | | | | | Improve document: working with javascript in rails [ci skip]. | ||||
| * | | Improve document: working with javascript in rails [ci skip]. | Juanito Fatas | 2013-12-14 | 1 | -5/+15 |
|/ / | | | | | | | | | | | * Add form_tag generated output. * improve some text. * data-remote='true' should use double quotes. | ||||
* | | Fix typo [ci skip] | Rafael Mendonça França | 2013-12-13 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #13298 from rails/secret_tokens | Guillermo Iguaran | 2013-12-13 | 8 | -15/+79 |
|\ \ | | | | | | | Create config/secrets.yml file for store of tokens | ||||
| * | | Add comment about secret_key_base in secrets.yml | Guillermo Iguaran | 2013-12-13 | 1 | -0/+12 |
| | | | |||||
| * | | Rename tokens.yml to secrets.yml | Guillermo Iguaran | 2013-12-12 | 5 | -6/+6 |
| | | | |||||
| * | | Add test for custom tokens stored in config/tokens.yml | Guillermo Iguaran | 2013-12-12 | 1 | -0/+13 |
| | | | |||||
| * | | Replace config.secret_key_base with secrets.secret_key_base in test | Guillermo Iguaran | 2013-12-12 | 1 | -1/+1 |
| | | | |||||
| * | | Load secret_key_base from tokens.yml, fallback to config.secret_key_base | Guillermo Iguaran | 2013-12-12 | 5 | -12/+54 |
| | | | |||||
| * | | Remove secret_token.rb | Guillermo Iguaran | 2013-12-12 | 1 | -12/+0 |
| | | | |||||
| * | | Add config/tokens.yml template | Guillermo Iguaran | 2013-12-12 | 2 | -0/+9 |
| | | | |||||
* | | | Merge pull request #13309 from arunagw/warning-fix-argumnet | Rafael Mendonça França | 2013-12-13 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | argument prefix warning removed | ||||
| * | | | argument prefix warning removed | Arun Agrawal | 2013-12-13 | 1 | -1/+1 |
|/ / / | | | | | | | | | | * interpreted as a argument prefix | ||||
* | | | Merge pull request #13306 from kassio/master | Rafael Mendonça França | 2013-12-13 | 2 | -4/+9 |
|\ \ \ | | | | | | | | | Fix mysql to support duplicated column names | ||||
| * | | | Fix mysql to support duplicated column names | Kassio Borges | 2013-12-13 | 2 | -4/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will fix the [broken test](https://github.com/rails/rails/commit/4a2650836680f51490e999c3c8441a2f9adff96e) `test_with_limiting_with_custom_select`. The query's result was built in a hash with column name as key, if the result have a duplicated column name the last value was overriding the first one. | ||||
* | | | | refactor, reuse assertions in range_test.rb. | Yves Senn | 2013-12-13 | 1 | -186/+111 |
| | | | | |||||
* | | | | extract PG range tests from datatype_test.rb into range_test.rb | Yves Senn | 2013-12-13 | 3 | -296/+321 |
|/ / / | |||||
* | | | Merge pull request #13305 from psahni/form_tag_with_parameters | Yves Senn | 2013-12-13 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | form_tag with parameters fixed [ci skip] | ||||
| * | | | form_tag with parameters fixed [ ci skip ] | Prashant Sahni | 2013-12-13 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge pull request #13303 from dvsuresh/typo_postgresqlyml | Arun Agrawal | 2013-12-12 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | Correct comment in databases/postgresql.yml [ci skip] | ||||
| * | | | | Correct comment in databases/postgresql.yml | DV Suresh | 2013-12-12 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Add a bunch of Relation -> Array delegate methods to the whitelist. This ↵ | Jeremy Kemper | 2013-12-12 | 2 | -32/+26 |
| | | | | | | | | | | | | | | | | | | | | won't last - aim to switch back to a blacklist for mutator methods. | ||||
* | | | | | Perf: save ~9% of object allocations on heavy requests. | Jeremy Kemper | 2013-12-12 | 1 | -2/+5 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The per-thread registry is keyed on the class name, and each request for the class name returns a new string. This is in the hot path for a lot of Active Record behavior, so we easily accumulate thousands of repeated strings. To fix, we simply cache the key when the class is first extended with the module. TODO: Eliminate this module. The per-thread instance concept is common, but this technique confuses and obfuscates. | ||||
* | | | | Merge pull request #13302 from afshinator/master | Lauro Caetano | 2013-12-12 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | fix grammatical error | ||||
| * | | | | fix grammatical error | Afshin Mokhtari | 2013-12-12 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Merge pull request #12590 from laurocaetano/whitelist-to-delegate-array-methods | Rafael Mendonça França | 2013-12-12 | 4 | -104/+105 |
|\ \ \ \ \ | | | | | | | | | | | | | Create a whitelist of methods to be delegated to Array. | ||||
| * | | | | | Use `public_send` instead of just use `send`. | Lauro Caetano | 2013-12-12 | 2 | -9/+9 |
| | | | | | | |||||
| * | | | | | Use a whitelist to delegate methods to array | Lauro Caetano | 2013-12-12 | 2 | -75/+38 |
| | | | | | | |||||
| * | | | | | Add changelog | laurocaetano | 2013-12-12 | 1 | -6/+15 |
| | | | | | | |||||
| * | | | | | Remove delegation test. | laurocaetano | 2013-12-12 | 1 | -17/+46 |
| |/ / / / | | | | | | | | | | | | | | | | | | | | | This test was removed, since Relation will not delegate class methods to Array. | ||||
* | | | | | extract cache counter logic to one method | Aaron Patterson | 2013-12-12 | 1 | -11/+10 |
| | | | | | |||||
* | | | | | remove duplicate code | Aaron Patterson | 2013-12-12 | 1 | -15/+6 |
| | | | | | |||||
* | | | | | extract a method for updating without a record object | Aaron Patterson | 2013-12-12 | 1 | -6/+10 |
| | | | | | |||||
* | | | | | extract methods out of the cache update method | Aaron Patterson | 2013-12-12 | 1 | -14/+22 |
| | | | | | |||||
* | | | | | pull a nil check up one frame | Aaron Patterson | 2013-12-12 | 1 | -6/+10 |
|/ / / / | |||||
* | | | | docs guidelines: recommends wording in a way that avoids "you"s and "your"s | Xavier Noria | 2013-12-12 | 1 | -1/+15 |
| | | | | |||||
* | | | | copy-edits 68abbac [ci skip] | Xavier Noria | 2013-12-12 | 1 | -10/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rewording to avoid "you"s. * Suggest as first natural alternative to refactor the block to evaluate to the returned value. * Removes the quotes around "filters", since that is a common work in our jargon. | ||||
* | | | | Merge pull request #13255 from strzalek/bump-builder | Rafael Mendonça França | 2013-12-12 | 2 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | Bump up builder | ||||
| * | | | | More liberal builder dependency | Łukasz Strzałkowski | 2013-12-12 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | Allowing us to get 3.2.x versions if needed. | ||||
* | | | | | Merge pull request #13300 from chancancode/add_nodoc_am_dirty_methods | Aaron Patterson | 2013-12-12 | 1 | -2/+2 |
|\ \ \ \ \ | |_|_|/ / |/| | | | | Added :nodoc: for `attribute_changed?` and `attribute_was` [ci skip] | ||||
| * | | | | Added :nodoc: for `attribute_changed?` and `attribute_was` [ci skip] | Godfrey Chan | 2013-12-12 | 1 | -2/+2 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | These methods were made "public" in 47617ecd so that `method_missing` can invoke them without going through `send`, but they aren't meant for consumption from outside of Rails. | ||||
* | | | | remove more nil checks | Aaron Patterson | 2013-12-12 | 1 | -6/+5 |
| | | | |