aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | Add fixture use case to testing.md.Staphany Park2015-06-131-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think people would find it useful to know that you can pass in multiple fixture names to get an array of all the fixtures. I've found this useful in my own app. It looks like there already a test case that supports this feature (https://github.com/rails/rails/blob/master/activerecord/test/cases/fixtures_test.rb#L398), but it's just not documented here. I look forward to your feedback!
* | | | | | fix doc about foreign key name [ci skip]yuuji.yaginuma2015-06-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | this behavior was changed in b8e1f202676b4788c56241b124c401beff9f4014
* | | | | | It's rails new my_api --apiSantiago Pastorino2015-06-111-1/+1
| | | | | |
* | | | | | Change guide heading from - to =Santiago Pastorino2015-06-111-1/+1
| | | | | |
* | | | | | Add API only apps guideSantiago Pastorino2015-06-111-0/+435
| | | | | |
* | | | | | Revert "Grammar correction"Matthew Draper2015-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 67e467b9a5c113177aff925f07136e9b7f2a1eda.
* | | | | | Grammar correctionhemali jain2015-06-111-1/+1
|/ / / / /
* | | | | 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.
* | | | | 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.
* | | | | update Rails Command Line guide pageGaurav Sharma2015-06-091-2/+2
| | | | |
* | | | | Merge pull request #20463 from yui-knk/fix/guide1Zachary Scott2015-06-081-1/+1
|\ \ \ \ \ | | | | | | | | | | | | [ci skip] Fix hours to minutes in `select_minute`
| * | | | | [ci skip] Fix hours to minutes in `select_minute`yui-knk2015-06-071-1/+1
| | | | | |
* | | | | | Merge pull request #20381 from kuldeepaggarwal/engines-docsYves Senn2015-06-081-5/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | fix docs for Engines [ci skip]
| * | | | | | [ci skip]fix docs for EnginesKuldeep Aggarwal2015-05-301-5/+5
| | | | | | |
* | | | | | | Fix core_text -> core_extSeiei Miyagi2015-06-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | | Merge pull request #20471 from y-yagi/add_instantiation_to_instrumentation_guideZachary Scott2015-06-071-0/+14
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | add `instantiation.active_record` hook to instrumentation guide [ci skip]
| * | | | | | | add `instantiation.active_record` hook to instrumentation guide [ci skip]yuuji.yaginuma2015-06-081-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the hook was added in 2a0d97bc89fc230241453cbbf55621309e1f3ac6
* | | | | | | | Add missing NOTE for Time extensions' locationPierre2015-06-071-0/+2
|/ / / / / / /
* | / / / / / Tiny documentation edits [ci skip]Robin Dupret2015-06-072-2/+5
| |/ / / / / |/| | | | |
* | | | | | A few documentation tweaks [ci skip]Robin Dupret2015-06-074-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | [Robin Dupret & Shunsuke Aida]
* | | | | | [ci skip] Declare `product` as `_product partial`yui-knk2015-06-071-1/+2
| | | | | |
* | | | | | Output an error message and raise an error if bundler 1.10.x is not ↵akihiro172015-06-066-6/+36
| | | | | | | | | | | | | | | | | | | | | | | | installed when reporting bugs
* | | | | | Merge pull request #20423 from Erol/remove-assets-version-documentationRafael Mendonça França2015-06-061-2/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | Remove `config.assets.version` from Configuring Rails Application Guide
| * | | | | | Remove reference to assets version option.Erol Fornoles2015-06-031-2/+0
| | | | | | |
* | | | | | | Add the bug report templates to the Travis CI buildRoque Pinel2015-06-054-9/+24
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bug report templates are now executed from the `ci/travis.rb` when `GEM` contains `guides`. I started by creating a `test` task in `guides/Rakefile` to handle this, but since inline `gemfile` must not be executed with `bundle exec`, that rake task would not be consistent with others. So I went back by executing them directly from `Build`. Use inline Gemfile dependency when reporting gem bugs
* | | | | | Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-06-052-4/+4
|\ \ \ \ \ \
| * | | | | | [ci skip] Add `.`yui-knk2015-06-011-1/+1
| | | | | | |
| * | | | | | [ci skip] Upcase `when`yui-knk2015-05-161-1/+1
| | | | | | |
| * | | | | | [ci skip] Fix to a singular form (person has one contact_detail)yui-knk2015-05-161-2/+2
| | | | | | |
* | | | | | | Use inline Gemfile dependency when reporting bugsRoque Pinel2015-06-033-33/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With Bundler `1.10.3`, it is possible to list the gems inline without the need to create a `Gemfile` if none is found in the current directory.
* | | | | | | Document config.action_mailer.deliver_later_queue_nameRafael Mendonça França2015-06-031-0/+2
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add a CHANGELOG entry for #18587 [ci skip]
* | | | | | [ci skip] fix the `collection.clear` guideRoque Pinel2015-06-021-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve the guide about `has_many` `collection.clear` to indicate the behavior for each dependent strategy according to `collection.delete_all`. Based on #17179, I changed the `collection.delete` docs to also clarify the default strategy for each `hm` and `hm:t` associations. Fixes #20170.
* | | | | | Fixed typos in guidemanish-shrivastava2015-06-014-4/+6
| | | | | |
* | | | | | Merge pull request #20138 from tgxworld/deprecated_assert_templateRafael Mendonça França2015-06-011-58/+12
|\ \ \ \ \ \ | | | | | | | | | | | | | | Deprecate `assert_template` and `assigns()`.
| * | | | | | Remove `assigns` and `assert_template`.Guo Xiang Tan2015-05-301-58/+12
| | |/ / / / | |/| | | |
* | | | | | Merge pull request #20394 from mechanicles/use-symMatthew Draper2015-06-011-2/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | [ci skip] Used 'instance_variables' in example for consistency.
| * | | | | | [ci skip] Used 'instance_variables' in example for consistency.Santosh Wadghule2015-06-011-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Found that checking instance_variables elements using string object gives us 'false' value. `instance_variables.include? "@articles" # => false` - Used only 'instance_variables' instead of using '.include?' on it. So that it will return recent instance variables list.
* | | | | | | Remove description of `dependency_loading` optionNikolay Kondratyev2015-06-011-2/+0
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option has been removed in e6747d87f3a061d153215715d56acbb0be20191f [ci skip]
* | | | | | [ci skip] Fix `above` -> `below`yui-knk2015-06-011-1/+1
| | | | | |
* | | | | | Fixed typos. [ci skip]Morgan Owens2015-05-311-5/+5
| | | | | |
* | | | | | no rails command short-cuts in the getting-started guide. [ci skip]Yves Senn2015-05-311-1/+1
|/ / / / / | | | | | | | | | | | | | | | The full command name is more expressive.
* | | | | Updating the guides for Enumerable#pluckKevin Deisz2015-05-281-0/+10
| | | | |
* | | | | Merge pull request #20017 from eliotsykes/configurable-static-index-filenameRafael Mendonça França2015-05-281-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | config.static_index configures directory Index "index.html" filename
| * | | | | config.static_index configures directory index "index.html" filenameEliot Sykes2015-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set `config.static_index` to serve a static directory index file not named `index`. For example, to serve `main.html` instead of `index.html` for directory requests, set `config.static_index` to `"main"`.
* | | | | | removed erroneous line. Corrected presence validation example.Jurnell Cockhren2015-05-281-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addresses #20343. Removes erroneous line of code in the sample codeblock.
* | | | | | Merge pull request #20313 from s3ymd/masterArthur Nogueira Neves2015-05-281-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | [ci skip] Fix block parameter of assert_no_difference
| * | | | | | [ci skip] Fix block parameter of assert_no_differenceHiromichi Yamada2015-05-281-1/+1
| |/ / / / /
* / / / / / Deprecate `:nothing` option for render methodMehmet Emin İNAÇ2015-05-281-26/+0
|/ / / / / | | | | | | | | | | | | | | | `head` method works similar to `render` method with `:nothing` option
* | | | | Merge pull request #19867 from radar/rename-app-rails-loaderRafael Mendonça França2015-05-271-3/+3
|\ \ \ \ \ | | | | | | | | | | | | Remove redundant 'Rails' from Rails::AppRailsLoader constant
| * | | | | Remove redundant 'Rails' from Rails::AppRailsLoader constantRyan Bigg2015-05-211-3/+3
| | |_|_|/ | |/| | |