Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | API apps scaffold generator generates an apropriate controller | Santiago Pastorino | 2015-06-11 | 6 | -2/+180 |
| | |||||
* | config.generators.api_only = true set rails api option on generators | Santiago Pastorino | 2015-06-11 | 2 | -1/+6 |
| | |||||
* | Api apps scaffold generates routes without new and edit actions | Santiago Pastorino | 2015-06-11 | 2 | -1/+11 |
| | |||||
* | Hide assets, helper, css and js namespaces for api only apps | Santiago Pastorino | 2015-06-11 | 2 | -0/+20 |
| | |||||
* | Add api_only option to Generators | Santiago Pastorino | 2015-06-11 | 1 | -1/+2 |
| | |||||
* | Do not generate test/helpers directory for api apps | Santiago Pastorino | 2015-06-11 | 2 | -0/+2 |
| | |||||
* | Do not generate app/views directory for api apps | Santiago Pastorino | 2015-06-11 | 2 | -0/+7 |
| | |||||
* | Do not generate app/helpers directory for api apps | Santiago Pastorino | 2015-06-11 | 2 | -0/+7 |
| | |||||
* | Do not generate app/assets directory for api apps | Santiago Pastorino | 2015-06-11 | 2 | -1/+8 |
| | |||||
* | api option implies skipping javascript & sprockets | Santiago Pastorino | 2015-06-11 | 2 | -3/+3 |
| | |||||
* | Generate appropriate initializers for an api app | Santiago Pastorino | 2015-06-11 | 3 | -1/+21 |
| | |||||
* | rails new --api generates an api app skeleton | Santiago Pastorino | 2015-06-11 | 5 | -5/+87 |
| | |||||
* | Add ApiPublicException middleware | Santiago Pastorino | 2015-06-11 | 3 | -2/+87 |
| | |||||
* | Add AC::API + its middleware stack integration test | Santiago Pastorino | 2015-06-11 | 1 | -0/+29 |
| | |||||
* | Add config.api_only option to application and remove appropriate middleware ↵ | Santiago Pastorino | 2015-06-11 | 3 | -4/+32 |
| | | | | when true | ||||
* | Move Model test class inside RenderersApiController namespace | Santiago Pastorino | 2015-06-11 | 1 | -8/+8 |
| | |||||
* | Add ActionController API functionality | Santiago Pastorino | 2015-06-11 | 10 | -0/+360 |
| | |||||
* | Merge pull request #20519 from colby-swandale/doc-update | Zachary Scott | 2015-06-11 | 1 | -3/+3 |
|\ | | | | | better clarity of params source in ActionController::Base documentation | ||||
| * | better clarity of params source in ActionController::Base documentation [ci ↵ | Colby Swandale | 2015-06-11 | 1 | -3/+3 |
| | | | | | | | | skip] | ||||
* | | Merge pull request #20516 from kares/patch-2 | Matthew Draper | 2015-06-12 | 1 | -1/+1 |
| | | | | | | | | change AR clear order in ActionDisplatch::Reloader hook | ||||
* | | Merge pull request #20520 from yuki24/use-a-kwarg-for-static-index | Rafael Mendonça França | 2015-06-11 | 3 | -6/+5 |
|\ \ | | | | | | | Change the `index` arg of `ActionDispatch::Static#new` to a kwarg | ||||
| * | | Change the `index` arg of `ActionDispatch::Static#new` to a kwarg | Yuki Nishijima | 2015-06-11 | 3 | -6/+5 |
| |/ | |||||
* | | Merge pull request #20497 from dcrec1/master | Sean Griffin | 2015-06-11 | 1 | -2/+1 |
|\ \ | | | | | | | refactor ActiveRecord's #become by removing not needed code | ||||
| * | | refactor ActiveRecord's #become by simplifying code | Diego Carrion | 2015-06-10 | 1 | -2/+1 |
| | | | |||||
* | | | Revert "Grammar correction" | Matthew Draper | 2015-06-11 | 1 | -1/+1 |
| | | | | | | | | | | | | This reverts commit 67e467b9a5c113177aff925f07136e9b7f2a1eda. | ||||
* | | | Merge pull request #20517 from hemalijain/patch-1 | Kasper Timm Hansen | 2015-06-11 | 1 | -1/+1 |
|\ \ \ | |_|/ |/| | | Grammar correction | ||||
| * | | Grammar correction | hemali jain | 2015-06-11 | 1 | -1/+1 |
|/ / | |||||
* | | Revert "Add code example for include option of ↵ | Rafael Mendonça França | 2015-06-10 | 1 | -14/+1 |
| | | | | | | | | | | | | | | | | AM::Serialization#serializable_hash" This reverts commit 3d949f34816d6eca0a6b59cfa08d91f36e8e64dd. This was already documented in other PR. | ||||
* | | Merge pull request #20500 from repinel/use-block-not-global-var | Rafael Mendonça França | 2015-06-09 | 2 | -3/+3 |
|\ \ | | | | | | | Another use block variable instead of global | ||||
| * | | Use block variable instead of global | Roque Pinel | 2015-06-09 | 2 | -3/+3 |
|/ / | |||||
* / | Add code example for include option of AM::Serialization#serializable_hash | Radan Skoric | 2015-06-09 | 1 | -1/+14 |
|/ | |||||
* | Merge pull request #20496 from prathamesh-sonpatki/rm-note | Arun Agrawal | 2015-06-09 | 1 | -4/+0 |
|\ | | | | | Remove NOTE related to format.js [ci skip] | ||||
| * | Remove NOTE related to format.js [ci skip] | Prathamesh Sonpatki | 2015-06-09 | 1 | -4/+0 |
|/ | | | | | - The example for which this NOTE was written was removed in https://github.com/rails/rails/pull/20493. | ||||
* | Merge pull request #20493 from dansteele/patch-1 | Zachary Scott | 2015-06-09 | 1 | -24/+0 |
|\ | | | | | Removed AJAX example with poor convention adherence | ||||
| * | Removed AJAX example with poor convention adherence | Daniel Steele | 2015-06-09 | 1 | -24/+0 |
|/ | | | The removed section promotes putting JS code directly inside the controller, this is not in line with convention. | ||||
* | Merge pull request #20437 from pwnall/abstract_fixtures | Rafael Mendonça França | 2015-06-09 | 5 | -1/+31 |
|\ | | | | | Fix crash when loading fixture with belongs_to association defined in abstract base class | ||||
| * | Fix crash when loading fixture with belongs_to association defined in ↵ | Victor Costan | 2015-06-04 | 5 | -1/+31 |
| | | | | | | | | abstract base class. | ||||
* | | Merge pull request #20491 from Gaurav2728/gaurav-command_line_guide | Arun Agrawal | 2015-06-09 | 1 | -2/+2 |
|\ \ | | | | | | | update Rails Command Line guide page | ||||
| * | | update Rails Command Line guide page | Gaurav Sharma | 2015-06-09 | 1 | -2/+2 |
|/ / | |||||
* | | Tiny documentation edits [ci skip] | Robin Dupret | 2015-06-09 | 2 | -8/+8 |
| | | |||||
* | | Merge pull request #20483 from davydovanton/fix-typo-am-test | Rafael Mendonça França | 2015-06-08 | 1 | -1/+1 |
|\ \ | | | | | | | Fix typo in AM I18n validation test name | ||||
| * | | Fix typo in AM I18n validation test name [skip ci] | Anton Davydov | 2015-06-09 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #20486 from repinel/improve-gsub-and-global-vars | Rafael Mendonça França | 2015-06-08 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Use block variable instead of global | ||||
| * | | | Use block variable instead of global | Roque Pinel | 2015-06-08 | 1 | -1/+1 |
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ```ruby Benchmark.ips do |x| x.report("$&") { "foo".gsub(/f/) { $&.hex } } x.report("block var") { "foo".gsub(/f/) { |match| match.hex } } end ``` ``` Calculating ------------------------------------- $& 23.271k i/100ms block var 24.804k i/100ms ------------------------------------------------- $& 321.981k (± 7.4%) i/s - 1.606M block var 324.949k (± 9.2%) i/s - 1.612M ``` | ||||
* | | | remove unused code | Aaron Patterson | 2015-06-08 | 1 | -2/+2 |
| | | | |||||
* | | | we only care about methods that the request object responds to | Aaron Patterson | 2015-06-08 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | matches? should only deal with methods on the request object, so lets just filter out anything that the request object doesn't respond to | ||||
* | | | extract required_defaults from the conditions hash before constructing the route | Aaron Patterson | 2015-06-08 | 6 | -56/+56 |
|/ / | | | | | | | | | this way we can remove the strange "respond_to?" conditional in the `matches?` loop | ||||
* | | Merge pull request #20479 from masarakki/no-scaffold.css-option | Rafael Mendonça França | 2015-06-08 | 3 | -1/+18 |
|\ \ | | | | | | | add option to avoid generating scaffold.css | ||||
| * | | add option to avoid generating scaffold.css | masarakki | 2015-06-09 | 3 | -1/+18 |
|/ / | |||||
* | | Merge pull request #20124 from greysteil/fix-select-helper | Rafael Mendonça França | 2015-06-08 | 3 | -3/+21 |
|\ \ | | | | | | | Raise an ArgumentError when `include_blank` is false for a required select field |