Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [skip ci] Make header bullets consistent in engines.md | Alex Kitchens | 2016-06-02 | 1 | -3/+3 |
| | |||||
* | add missing "as" | Antonio Felguerez | 2016-06-02 | 1 | -1/+1 |
| | | | it reads a bit awkwardly without it. | ||||
* | Fix author callback in engines guide [ci skip] | Michael Ryan | 2016-03-04 | 1 | -3/+3 |
| | | | | | | | | The `before_save` callback used with `set_author` results in the validation error "Author must exist," due to the change in `belongs_to` behavior introduced by #18937. Use `before_validation` instead. | ||||
* | [ci skip] fix suggested change-replace 'an' with 'the in Rails engine guide' | kamal namdeo | 2016-02-18 | 1 | -1/+1 |
| | |||||
* | Fix the language in engines guide | kamal namdeo | 2016-02-18 | 1 | -1/+1 |
| | |||||
* | Fix grammar `a` to `an` [ci skip] | Ryuta Kamizono | 2016-02-13 | 1 | -1/+1 |
| | |||||
* | add missing include to engine test example [ci skip] | yuuji.yaginuma | 2016-02-05 | 1 | -0/+4 |
| | | | | | Using url helper method of engine in example code, include `Engine.routes.url_helpers` is required to use helper method of engine. | ||||
* | use bin/rails default instead of rake commands [ci skip] | Gaurav Sharma | 2016-01-19 | 1 | -11/+11 |
| | | | I go through the `http://edgeguides.rubyonrails.org/` and found `rake` commands in various files that are in RAILS 5.0 implement by `bin/rails` command. I try to change all that can be directly use `bin/rails …` | ||||
* | Introduce ApplicationRecord, an Active Record layer supertype | Genadi Samokovarov | 2015-12-16 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | It's pretty common for folks to monkey patch `ActiveRecord::Base` to work around an issue or introduce extra functionality. Instead of shoving even more stuff in `ActiveRecord::Base`, `ApplicationRecord` can hold all those custom work the apps may need. Now, we don't wanna encourage all of the application models to inherit from `ActiveRecord::Base`, but we can encourage all the models that do, to inherit from `ApplicationRecord`. Newly generated applications have `app/models/application_record.rb` present by default. The model generators are smart enough to recognize that newly generated models have to inherit from `ApplicationRecord`, but only if it's present. | ||||
* | Remove ActionController::TestCase from documentation | eileencodes | 2015-12-12 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | In Rails 5.1 `ActionController::TestCase` will be moved out of Rails into it's own gem. Please use `ActionDispatch::IntegrationTest` going foward. Because this will be moved to a gem I used `# :stopdoc:` instead of deleting the documentation. This will remove it from the Rails documentation but still leave the method documented for when we move it to a gem. Guides have been updated to use the routing structure used in Integration and all test examples have been updated to inherit from `ActionDispatch::IntegrationTest` instead of `ActionController::TestCase. Fixes #22496 | ||||
* | Improved explanation | Claudi Martinez | 2015-11-13 | 1 | -4/+1 |
| | |||||
* | Improved explanation | Claudi Martinez | 2015-11-01 | 1 | -10/+16 |
| | |||||
* | Fixed typo | Claudi Martinez | 2015-10-29 | 1 | -1/+1 |
| | |||||
* | Added warning on coding engine controllers | Claudi Martinez | 2015-10-29 | 1 | -0/+18 |
| | |||||
* | added Rails 4 context for migrations:install task | Simon H | 2015-10-19 | 1 | -1/+1 |
| | |||||
* | Merge pull request #21738 from cllns/remove-to_s-from-example | Eileen M. Uchitelle | 2015-09-25 | 1 | -19/+1 |
|\ | | | | | [Engines Guide] Remove to_s example, since it's outside the scope | ||||
| * | Remove to_s example | Sean Collins | 2015-09-24 | 1 | -19/+1 |
| | | | | | | | | | | | | It's outside the scope of the Engines guide [skip ci] | ||||
* | | Change the paths for both Gemfile lines to be 'engines/blorgh' | Sean Collins | 2015-09-23 | 1 | -2/+2 |
|/ | | | | | | | | They're now consistent. Also changes the quotes to be single, so we only have one type of quote per line [skip ci] | ||||
* | Remove leading slash from path | Sean Collins | 2015-09-22 | 1 | -1/+1 |
| | | | | | | | The leading slash denotes an absolute path, rather than a relative one (which is more popular) [ci skip] | ||||
* | Revert "Grammar correction" | Matthew Draper | 2015-06-11 | 1 | -1/+1 |
| | | | | This reverts commit 67e467b9a5c113177aff925f07136e9b7f2a1eda. | ||||
* | Grammar correction | hemali jain | 2015-06-11 | 1 | -1/+1 |
| | |||||
* | [ci skip]fix docs for Engines | Kuldeep Aggarwal | 2015-05-30 | 1 | -5/+5 |
| | |||||
* | [CI SKIP] correct error text message | kuldeepaggarwal | 2015-05-09 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2015-04-14 | 1 | -7/+5 |
|\ | |||||
| * | [ci skip] add missing file extension | Mikhail Dieterle | 2015-04-10 | 1 | -1/+1 |
| | | |||||
| * | [ci skip] format rake output | Mikhail Dieterle | 2015-04-10 | 1 | -5/+3 |
| | | |||||
| * | [ci skip] fix helper name | Mikhail Dieterle | 2015-04-10 | 1 | -1/+1 |
| | | |||||
* | | Apply comments from @rafaelfranca: we shouldn't recommend you use scaffold css | Zachary Scott | 2015-04-12 | 1 | -9/+0 |
|/ | | | | Closes #19492 and fixes #19453 | ||||
* | [ci skip] Use explicit module namespace in guide | Kasper Timm Hansen | 2015-02-21 | 1 | -1/+3 |
| | | | | | | | The Engines guide used an inline namespace, `Blorgh::ApplicationController`, which caused problems for users using an explicit module namespace because the `ApplicationController` inherited from wasn't fully qualified. The controller qualification was fixed in 661479324d573d419d8e15a1ea257e01856084af. This ditches the inline namespace and makes the example more consistent with others in the guide. | ||||
* | guides, fully qualify `ApplicationController`. Closes #19024. | Yves Senn | 2015-02-21 | 1 | -1/+1 |
| | |||||
* | - Changed `IN` to `ON` in markdown renderer condition | Vipul A M | 2015-01-14 | 1 | -1/+1 |
| | | | | - Changed `IN` to `ON` in all note sentences in guides. | ||||
* | warn about reading guides in GitHub | Xavier Noria | 2014-12-23 | 1 | -0/+2 |
| | | | | References #18148. | ||||
* | We shouldn't be linking to edgeapi [ci skip] | Godfrey Chan | 2014-11-25 | 1 | -1/+1 |
| | |||||
* | Correct example in the engines testing guide [ci skip] | Godfrey Chan | 2014-11-23 | 1 | -14/+25 |
| | | | | Reference #17453 | ||||
* | technical correction in guides under 'Generating an engine' | David Elliott | 2014-09-28 | 1 | -2/+2 |
| | | | | `bin/rails` would not exist outside of a rails project | ||||
* | [ci skip] Fix sample code in engines guide | yuuji.yaginuma | 2014-08-10 | 1 | -2/+2 |
| | |||||
* | Update docs to reflect that helper stubs are no longer generated | David Heinemeier Hansson | 2014-08-03 | 1 | -4/+0 |
| | |||||
* | [ci skip] Changes some wording to better foreshadow what is coming up later. | Michael Mitchell | 2014-07-02 | 1 | -8/+10 |
| | | | | | | | | | | This should prevent some anxiety readers may experience when the doc goes into something different than what it just explained. Also clarifies a statement about priority in engines and application environments [ci skip] fixes double `the` [ci skip] more clarifications [ci skip] changes from tics to quotes | ||||
* | Follow-up to #15215 [ci skip] | Robin Dupret | 2014-06-27 | 1 | -6/+7 |
| | |||||
* | Merge pull request #14113 from murb/patch-1 | Rafael Mendonça França | 2014-06-23 | 1 | -5/+6 |
|\ | | | | | Moved explanation of `--mountable` option up | ||||
| * | Moved explanation of `--mountable` option up | Maarten Brouwers | 2014-02-19 | 1 | -5/+6 |
| | | | | | | The example code uses `--mountable`. In previous version this was followed by an explanation of the `--full` option, which doesn't make sense. Later on in the text this is better explained. I moved this explanation up without repeating too much. | ||||
* | | Remove extra list item element | Ben Hicks | 2014-06-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Cleaning up the list items that detail what an engines `--full` option generates. Joining a multiline multi list item into a multiline single list item. [ci skip] | ||||
* | | Generated engines don't include bin/rake, fixes #15409 [ci skip] | Zachary Scott | 2014-05-29 | 1 | -5/+5 |
| | | |||||
* | | Rename Posts to Articles in Guides, continuation of 2d446e77 / #13774 [ci skip] | John Kelly Ferguson | 2014-05-21 | 1 | -156/+156 |
| | | |||||
* | | Use generated binstubs in guides examples. | Josef Šimánek | 2014-05-20 | 1 | -13/+13 |
| | | | | | | | | [ci skip] | ||||
* | | Merge pull request #11836 from mcfiredrill/engines-testing-doc | Arthur Nogueira Neves | 2014-04-16 | 1 | -0/+10 |
|\ \ | |/ |/| | additional note about routes in functional tests for engines [ci skip] | ||||
| * | additional note about routes in functional tests for engines [ci skip] | Tony Miller | 2013-08-10 | 1 | -0/+10 |
| | | |||||
* | | Typo fix [ci skip] | Ilja Krijger | 2013-12-28 | 1 | -3/+4 |
| | | |||||
* | | 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 |
| | |