aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fixed typos in shallow routes and routing concernsBen Lewis2013-11-181-2/+2
| | | | | | | | Grammatical tense correction: "There exists two" => "There exist two". Plurality correction: "can be reused inside others resources" => "can be reused inside other resources".
* | Instrument each load config initializerPaul Nikitochkin2013-11-161-0/+9
| | | | | | | | | | | | In order to simplify profiling loading of initializers, added instument for tracking load config initializer event from `config/initializers`
* | [ci skip] typo in ArgumentError exceptionPeter Vandenabeele2013-11-161-1/+1
| |
* | Merge pull request #12907 from JuanitoFatas/upgradingRafael Mendonça França2013-11-151-9/+10
|\ \ | | | | | | [ci skip] Update gem versions for 3.2 and 3.1. Also change some words.
| * | [ci skip] Update gem versions for 3.2 and 3.1. Also change some words.Juanito Fatas2013-11-161-9/+10
| | |
* | | Change Relation#all to Relation#load [ci skip]Sıtkı Bağdat2013-11-151-1/+1
| | |
* | | Merge pull request #10848 from 907th/add_block_to_cattr_readerRafael Mendonça França2013-11-151-0/+9
|\ \ \ | | | | | | | | Fix #10847: allow to pass a block to `cattr_reader`.
| * | | Unify `cattr_*` interface: allow to pass a block to `cattr_reader`.Alexey Chernenkov2013-11-151-0/+9
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Example: class A cattr_reader(:defr) { 'default_reader_value' } end A.defr # => 'default_reader_value'
* / / Remove broken Commmand Line guide linkNate Berkopec2013-11-151-2/+0
|/ / | | | | [ci skip]
* | Make it clear that require 'active_support' is required [ci-skip]Godfrey Chan2013-11-131-1/+4
| |
* | Revert "`remove_column` does not take a type argument. [ci skip]. Closes #12864"Yves Senn2013-11-131-1/+1
| | | | | | | | | | | | | | As of Rails 4.0 `remove_column` is no longer an alias for `remove_columns`. The type is actually valid and used when issuing a rollback (new `change` method). This reverts commit 9c9d4948e428a226a19aa92c17fa6ac5833c2fb8.
* | [ci skip] Fix curl response output and use strong parameters in update action.Juanito Fatas2013-11-131-4/+3
| |
* | `remove_column` does not take a type argument. [ci skip]. Closes #12864Yves Senn2013-11-121-1/+1
| |
* | Merge pull request #12851 from RKushnir/masterYves Senn2013-11-112-0/+4
|\ \ | | | | | | Include URL helpers in TestController in bug report templates [ci skip]
| * | Include URL helpers in TestController in bug report templatesRoman Kushnir2013-11-112-0/+4
| | | | | | | | | | | | | | | | | | [ci skip] Fixes #12848.
* | | Merge pull request #12815 from Adam89/patch-1Xavier Noria2013-11-111-1/+1
|\ \ \ | |/ / |/| | Update security.md [ci skip]
| * | Update security.mdAdam2013-11-081-1/+1
| | | | | | | | | | | | | | | | | | Hi Guys I was reading through this guide last night and noticed a small mistake, would be great if you could update it. I changed the word 'building' to 'build' in line 20. "Web application frameworks are made to help developers building web applications"
* | | Fixed typo in migrations guideJimmy Petersen2013-11-111-1/+1
| | | | | | | | | | | | | | | Product model name was pluralized in example in migrations guide. [ci skip]
* | | Fix missing line and shadow on static error pages [ci skip]Dmitry Korotkov2013-11-114-0/+10
| | |
* | | Fixed minor typoJens Dahl Møllerhøj2013-11-091-1/+1
|/ / | | | | | | | | | | instead of 'rake test' as shortcut, use 'rake'. Closes #12780 [ci skip]
* | :scissors: fix broken url [ci skip]Gaurish Sharma2013-11-091-2/+1
| |
* | removes redundant curly brackets in example code [ci skip]Xavier Noria2013-11-081-1/+1
| |
* | Merge pull request #12609 from corwinkelly/patch-1Xavier Noria2013-11-081-3/+1
|\ \ | |/ |/| Update workaround for "Outside the Scope of Strong Parameters"
| * Fix undefined method error for NilClasscorwinkelly2013-10-231-1/+1
| | | | | | Add .try to prevent undefined method error for NilClass.
| * Update workaround for "Outside the Scope of Strong Parameters" corwinkelly2013-10-221-3/+1
| | | | | | The previous example of how to permit a hash of unknown keys used .tap, but had the side effect of logging an "Unpermitted parameters" message despite being a successful workaround. The proposed workaround is ever so slightly better, imo, because it won't result in an "Unpermitted parameters" message being logged.
* | 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]