aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* Revert last two commits mistakenly changing join/include syntaxCarlos Antonio da Silva2013-11-191-7/+7
| | | | | | | | | | | | | | | | | | | | --- Revert "syntax error joining/including models" This reverts commit ac35f72f30c47298a20a90c8c537db888b463bbb. --- Revert "syntax error joining tables" This reverts commit c365986b48c3e8bc8c7f3fa6a8521616ed5dc138. --- Comments: https://github.com/rails/docrails/commit/c365986b48c3e8bc8c7f3fa6a8521616ed5dc138#commitcomment-4630684
* syntax error joining/including modelsSergio2013-11-181-2/+2
| | | syntax error joining/including models
* syntax error joining tablesSergio2013-11-181-5/+5
| | | syntax error joining tables
* Update action_controller_overview.md [ci skip]Harshad Sabne2013-11-151-1/+1
| | | Code style adherence
* Fix broken Wikipedia link.Harshad Sabne2013-11-131-1/+1
|
* Remove outdated guide on using rack builder w/o rails middlewareAlex Johnson2013-11-131-20/+0
| | | | [ci skip]
* Correct guide relating MiddlewareStackProxy with EnumerableAlex Johnson2013-11-131-5/+4
| | | | | | | | [ci skip] Enumerable.instance_methods & Rails::Configuration::MiddlewareStackProxy.instance_methods # => [:as_json] MiddlewareStackProxy does not share any notable methods with Enumerable.
* [ci skip] Replace #=> with # =>Alex Johnson2013-11-123-17/+17
|
* Fix RailsServer#start content in initialization guideAlex Johnson2013-11-121-17/+23
| | | | [ci skip]
* Add section for command_tasks in initialization guideAlex Johnson2013-11-081-12/+42
| | | | [ci skip]
* Update commands.rb content in initialization guideAlex Johnson2013-11-081-2/+8
| | | | [ci skip]
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2013-11-078-37/+76
|\
| * Update Rails initialization guide to explain how bin/rails is executedAlex Johnson2013-11-061-3/+36
| |
| * Fixed code syntax for config.ru [ci skip]Rashmi Yadav2013-11-041-1/+1
| |
| * exists? is deprecated in ruby trunk [ci skip]Rashmi Yadav2013-11-012-4/+4
| | | | | | see here 4d4ff531b8807ee88a3fc46875c7e76f613956fb
| * guides/rails_on_rack: Fix formatting of _Internal Middleware Stack_ sectionZachary Scott2013-10-281-23/+23
| |
| * fix typo introduced when searching in markdown document with vimDamien Mathieu2013-10-241-14/+14
| |
| * rephrase the overriding views part about the view pathDamien Mathieu2013-10-241-15/+15
| | | | | | | | See rails/rails#12608
| * Fixed URL link to rendered_component plugin [ci skip]Harshad Sabne2013-10-231-1/+1
| |
| * Update 4_0_release_notes.mdHarshad Sabne2013-10-221-2/+2
| | | | | | Code Highlighted
| * Fixes typoJay Hayes2013-10-201-1/+1
| |
| * Update 3_2_release_notes.mdHarshad Sabne2013-10-201-1/+1
| | | | | | Code style adherence
| * Update I18n guide to note the additional features of the `translate` view helperJay Hayes2013-10-191-1/+7
| |
| * Updated 3.2.x link [ci skip]Rashmi Yadav2013-10-181-1/+1
| |
* | Add +capitalize+ option to Inflector.humanizeclaudiob2013-11-061-0/+6
| | | | | | | | | | | | | | So strings can be humanized without being capitalized: 'employee_salary'.humanize # => "Employee salary" 'employee_salary'.humanize(capitalize: false) # => "employee salary"
* | Clarify HTML Safe Translations [ci-skip]Derek Prior2013-11-051-1/+1
| | | | | | | | | | | | I think it's confusing to say "Use them in views without escaping." We use all keys in views without escaping - the escaping is done for us automatically _unless_ we call html_safe or the key ends in _html.
* | document `BACKTRACE` env var usage in testing guide. [ci skip]Yves Senn2013-11-041-0/+11
| |
* | Update guides welcome page to point to version 3.2.15 [ci skip]Carlos Antonio da Silva2013-11-021-1/+1
| |
* | remove warnings on ruby trunklaurocaetano2013-11-015-6/+6
| |
* | Merge pull request #12704 from JuanitoFatas/routingRafael Mendonça França2013-10-311-90/+93
|\ \ | | | | | | [ci skip] Add actions to shallow table, change a tense in sentence, add
| * | [ci skip] Make all tables have Controller#Action, change a tense in sentence.Juanito Fatas2013-10-311-90/+93
| | |
* | | AS guide: errataXavier Noria2013-10-311-1/+1
| | |
* | | show javascripts can be disabled in generatorsRob Zolkos2013-10-311-2/+6
| | |
* | | Merge pull request #12203 from chancancode/eager_load_jsonJeremy Kemper2013-10-301-4/+2
|\ \ \ | |/ / |/| | Eagerload active_support/json/encoding in active_support/core_ext/object/to_json
| * | Moved all JSON core extensions into core_ext/object/jsonGodfrey Chan2013-09-131-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TL;DR The primary driver is to remove autoload surprise. This is related to #12106. (The root cause for that ticket is that json/add defines Regexp#to_json among others, but here I'll reproduce the problem without json/add.) Before: >> require 'active_support/core_ext/to_json' => true >> //.as_json NoMethodError: undefined method `as_json' for //:Regexp from (irb):3 from /Users/godfrey/.rvm/rubies/ruby-2.0.0-p195/bin/irb:16:in `<main>' >> //.to_json => "\"(?-mix:)\"" >> //.as_json => "(?-mix:)" After: >> require 'active_support/core_ext/to_json' => true >> //.as_json => "(?-mix:)" This is because ActiveSupport::JSON is autoloaded the first time Object#to_json is called, which causes additional core extentions (previously defined in active_support/json/encoding.rb) to be loaded. When someone require 'active_support/core_ext', the expectation is that it would add certain methods to the core classes NOW. The previous behaviour causes additional methods to be loaded the first time you call `to_json`, which could cause nasty surprises and other unplesant side-effects. This change moves all core extensions in to core_ext/json. AS::JSON is still autoloaded on first #to_json call, but since it nolonger include the core extensions, it should address the aforementioned bug. *Requiring core_ext/object/to_json now causes a deprecation warnning*
* | | Update pull request instructions as per the new Github UIAlex Johnson2013-10-301-7/+12
| | | | | | | | | | | | [ci skip]
* | | Revert "add active model basics wip to guides/documents.yaml"Xavier Noria2013-10-291-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reason: WIP guides are not in the index because they are partial work pushed to the repo. Either there is someone working on them or else the work was interrupted. Guides are added to the index page when they are finished, the author considers the draft to be complete, someone reviews them, and overall they are considered to be good for users to read. This reverts commit eefc03a8069bddfe31751c4bd4fb1804e7f33c2c.
* | | Merge pull request #11564 from zzak/active_model_guideYves Senn2013-10-281-0/+6
|\ \ \ | | | | | | | | [Guides] Active Model Basics [ci skip]
| * | | add active model basics wip to guides/documents.yamlZachary Scott2013-07-221-0/+6
| | | |
* | | | Merge pull request #12578 from ↵Rafael Mendonça França2013-10-271-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jeradphelps/configurable_schema_migrations_table_name Configurable name for schema_migrations table Conflicts: activerecord/CHANGELOG.md
| * | | | added schema_migrations_table_name to ActiveRecord::Base in order that the ↵Jerad Phelps2013-10-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | name of the schema migrations table can be configured. consolidated test_schema_migrations_table_name tests Added changelog entry edited changelog removed commented lines removed reader ensure the schema migrations table is reset at end of test added entry to configuration guide guides typo and changelog order
* | | | | [ci skip] second parameter of asset-url is depricatedEvgeniy2013-10-231-4/+3
| | | | |
* | | | | Update docs on Tilt::Template in Asset Pipeline guideDavid Verhasselt2013-10-211-3/+8
|/ / / /
* | | | Merge pull request #12218 from dv/add-sass-globbing-to-asset-pipeline-docsYves Senn2013-10-171-1/+5
|\ \ \ \ | | | | | | | | | | Add sass globbing to asset pipeline docs [ci skip]
| * | | | Add Sass gobbling info to asset pipeline docsDavid Verhasselt2013-10-171-1/+5
| | |/ / | |/| | | | | | | | | | [ci skip]
* | | | [ci skip] Fix number of methods added by association.Juanito Fatas2013-10-171-8/+8
| | | | | | | | | | | | | | | | Also clean up some trailing spaces on line 1143-1146.
* | | | Merge pull request #12545 from nateberkopec/rephrase_callback_warningYves Senn2013-10-161-1/+1
|\ \ \ \ | |_|_|/ |/| | | Rephrase ActiveRecord transaction rollback warning [ci skip]
| * | | Rephrase ActiveRecord transaction rollback warningNate Berkopec2013-10-161-1/+1
| | | | | | | | | | | | | | | | [ci skip]
* | | | Merge branch 'master' of github.com:rails/docrailsVijay Dev2013-10-151-1/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Use ActiveRecord::Base#update! instead of #update_attributes!Zachary Scott2013-09-281-1/+1
| | | |