aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* config.api_only = true implies config.generators.api_only = trueSantiago Pastorino2015-06-113-4/+8
|
* Do not generate lib/assets directory for api appsSantiago Pastorino2015-06-112-1/+2
|
* Api apps scaffold does not generate assetsSantiago Pastorino2015-06-113-1/+8
|
* Api apps scaffold does not generate helpersSantiago Pastorino2015-06-113-1/+6
|
* Api apps scaffold does not generate viewsSantiago Pastorino2015-06-113-2/+11
|
* Add api scaffold test for route, controller and its testsSantiago Pastorino2015-06-111-0/+55
|
* API apps scaffold generator generates an apropriate controllerSantiago Pastorino2015-06-116-2/+180
|
* config.generators.api_only = true set rails api option on generatorsSantiago Pastorino2015-06-112-1/+6
|
* Api apps scaffold generates routes without new and edit actionsSantiago Pastorino2015-06-112-1/+11
|
* Hide assets, helper, css and js namespaces for api only appsSantiago Pastorino2015-06-112-0/+20
|
* Add api_only option to GeneratorsSantiago Pastorino2015-06-111-1/+2
|
* Do not generate test/helpers directory for api appsSantiago Pastorino2015-06-112-0/+2
|
* Do not generate app/views directory for api appsSantiago Pastorino2015-06-112-0/+7
|
* Do not generate app/helpers directory for api appsSantiago Pastorino2015-06-112-0/+7
|
* Do not generate app/assets directory for api appsSantiago Pastorino2015-06-112-1/+8
|
* api option implies skipping javascript & sprocketsSantiago Pastorino2015-06-112-3/+3
|
* Generate appropriate initializers for an api appSantiago Pastorino2015-06-113-1/+21
|
* rails new --api generates an api app skeletonSantiago Pastorino2015-06-115-5/+87
|
* Add ApiPublicException middlewareSantiago Pastorino2015-06-113-2/+87
|
* Add AC::API + its middleware stack integration testSantiago Pastorino2015-06-111-0/+29
|
* Add config.api_only option to application and remove appropriate middleware ↵Santiago Pastorino2015-06-113-4/+32
| | | | when true
* Move Model test class inside RenderersApiController namespaceSantiago Pastorino2015-06-111-8/+8
|
* Add ActionController API functionalitySantiago Pastorino2015-06-1110-0/+360
|
* Merge pull request #20519 from colby-swandale/doc-updateZachary Scott2015-06-111-3/+3
|\ | | | | better clarity of params source in ActionController::Base documentation
| * better clarity of params source in ActionController::Base documentation [ci ↵Colby Swandale2015-06-111-3/+3
| | | | | | | | skip]
* | Merge pull request #20516 from kares/patch-2Matthew Draper2015-06-121-1/+1
| | | | | | | | change AR clear order in ActionDisplatch::Reloader hook
* | Merge pull request #20520 from yuki24/use-a-kwarg-for-static-indexRafael Mendonça França2015-06-113-6/+5
|\ \ | | | | | | Change the `index` arg of `ActionDispatch::Static#new` to a kwarg
| * | Change the `index` arg of `ActionDispatch::Static#new` to a kwargYuki Nishijima2015-06-113-6/+5
| |/
* | Merge pull request #20497 from dcrec1/masterSean Griffin2015-06-111-2/+1
|\ \ | | | | | | refactor ActiveRecord's #become by removing not needed code
| * | refactor ActiveRecord's #become by simplifying codeDiego Carrion2015-06-101-2/+1
| | |
* | | Revert "Grammar correction"Matthew Draper2015-06-111-1/+1
| | | | | | | | | | | | This reverts commit 67e467b9a5c113177aff925f07136e9b7f2a1eda.
* | | Merge pull request #20517 from hemalijain/patch-1Kasper Timm Hansen2015-06-111-1/+1
|\ \ \ | |_|/ |/| | Grammar correction
| * | Grammar correctionhemali jain2015-06-111-1/+1
|/ /
* | Revert "Add code example for include option of ↵Rafael Mendonça França2015-06-101-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-varRafael Mendonça França2015-06-092-3/+3
|\ \ | | | | | | Another use block variable instead of global
| * | Use block variable instead of globalRoque Pinel2015-06-092-3/+3
|/ /
* / Add code example for include option of AM::Serialization#serializable_hashRadan Skoric2015-06-091-1/+14
|/
* Merge pull request #20496 from prathamesh-sonpatki/rm-noteArun Agrawal2015-06-091-4/+0
|\ | | | | Remove NOTE related to format.js [ci skip]
| * Remove NOTE related to format.js [ci skip]Prathamesh Sonpatki2015-06-091-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-1Zachary Scott2015-06-091-24/+0
|\ | | | | Removed AJAX example with poor convention adherence
| * Removed AJAX example with poor convention adherenceDaniel Steele2015-06-091-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_fixturesRafael Mendonça França2015-06-095-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 Costan2015-06-045-1/+31
| | | | | | | | abstract base class.
* | Merge pull request #20491 from Gaurav2728/gaurav-command_line_guideArun Agrawal2015-06-091-2/+2
|\ \ | | | | | | update Rails Command Line guide page
| * | update Rails Command Line guide pageGaurav Sharma2015-06-091-2/+2
|/ /
* | Tiny documentation edits [ci skip]Robin Dupret2015-06-092-8/+8
| |
* | Merge pull request #20483 from davydovanton/fix-typo-am-testRafael Mendonça França2015-06-081-1/+1
|\ \ | | | | | | Fix typo in AM I18n validation test name
| * | Fix typo in AM I18n validation test name [skip ci]Anton Davydov2015-06-091-1/+1
| | |
* | | Merge pull request #20486 from repinel/improve-gsub-and-global-varsRafael Mendonça França2015-06-081-1/+1
|\ \ \ | | | | | | | | Use block variable instead of global
| * | | Use block variable instead of globalRoque Pinel2015-06-081-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 ```