aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in AC overview guide [ci skip]Carlos Antonio da Silva2013-03-051-1/+1
|
* example for `accepts_nested_attribtues_for` and strong parameters.Yves Senn2013-03-051-0/+9
| | | | Closes #9558.
* strong parameters example for default values using `fetch`. [ci skip]Yves Senn2013-03-051-0/+12
| | | | Origin: #9534.
* adds guides/.document to tell rdoc not to process this directoryXavier Noria2013-03-041-0/+0
| | | | | | When the Rails 4 gem is installed rdoc sees markdown files below the guides directory and processes them. With an empty .document file we prevent that from happening. Thanks to @drbrain for the tip.
* add prompt to 422 page to check logsNihad Abbasov2013-03-041-2/+3
|
* Created an unscope method for removing relations from a chain ofwangjohn2013-03-031-0/+21
| | | | | relations. Specific where values can be unscoped, and the unscope method still works when relations are merged or combined.
* integrate the strong params README into the AC guide.Yves Senn2013-03-031-0/+118
| | | | | | | | | | The current ActionController guide does not mention strong parameters at all. I integrated the README into the guide to explain the API. I also included a section to illustrate that the API does not solve all possible whitelisting scenarios. The origin was #9454.
* Merge pull request #9512 from Jacke/masterGuillermo Iguaran2013-03-024-34/+127
|\ | | | | New 404, 422, 500 pages, they are more stylish and bring ruby essence…
| * New beauty pages(404, 422, 500)Stanislav2013-03-024-34/+127
| | | | | | | | | | | | moving changelog note to unreleased section New beauty pages(404, 422, 500)
* | Restore note about nested SCRIPT_NAME handling.Jeremy Kemper2013-03-011-0/+2
|/
* Support creating a table migration generatorSammy Larbi2013-03-011-0/+21
| | | | | | | | | | | | | | | | Sometimes you want to create a table without an associated model and test, which is also not a join table. With this commit, you can now do that. Example: rails g migration create_posts title:string or rails g migration CreatePosts title:string This commit also moves the template the model generator uses for the migration to the migration templates folder, as it seems a more sensible place for it now that it is shared code.
* Wordsmithing @trevorturk's upgrade notesJeremy Kemper2013-02-281-7/+4
| | | | | Removed the bit about `SCRIPT_NAME` handling, since setting `default_url_options[:script_name]` does work correctly. We ran into an issue with it but it was an app bug.
* Document introduction of ActionDispatch::ParamsParser::ParseErrorTrevor Turk2013-02-281-0/+2
|
* Document that scopes require a callable objectTrevor Turk2013-02-281-1/+9
|
* Document common deprecationsTrevor Turk2013-02-281-0/+11
|
* Document the deprecation of ActionView::RecordIdentifierTrevor Turk2013-02-281-0/+2
|
* Document ActiveRecord::Fixtures becoming ActiveRecord::FixtureSetTrevor Turk2013-02-281-0/+2
|
* Document change in routes using matchTrevor Turk2013-02-281-0/+13
|
* Document removal of assets:precompile:primaryTrevor Turk2013-02-281-0/+4
|
* Document sass-rails asset_url deprecationTrevor Turk2013-02-281-0/+4
|
* Document caveat from 5b3bb61 which fixed handling SCRIPT_NAME from within ↵Trevor Turk2013-02-281-0/+3
| | | | mounted engine
* Document rails-observers extractionTrevor Turk2013-02-281-0/+4
|
* Document the switch from memcache-client to dalliTrevor Turk2013-02-281-0/+2
|
* Improve docs for UpgradeSignatureToEncryptionCookieStoreTrevor Turk2013-02-281-1/+10
|
* Document extraction of actionpack-xml_parserTrevor Turk2013-02-281-0/+2
|
* Document introduction of the ActionController::UnknownFormat exceptionTrevor Turk2013-02-281-0/+2
|
* Merge pull request #9359 from justinwb/masterCarlos Antonio da Silva2013-02-271-1/+0
|\ | | | | Removed template_root as a configuration option
| * Removed template_root as a configuration optionJustin Bingham2013-02-211-1/+0
| | | | | | Removed template root from actionmailer configuration options as it seems to have been pulled out completely in favor of explicit definition via template_path / template_name.
* | Merge pull request #9446 from bemurphy/enhance_root_route_guideCarlos Antonio da Silva2013-02-261-0/+10
|\ \ | | | | | | Add routing guide doc on root with namespaces. [ci skip]
| * | Add routing guide doc on root with namespaces.Brendon Murphy2013-02-261-0/+10
| | | | | | | | | | | | | | | | | | I read #9419 and realized I didn't know you could have namespaced roots, checked around, and a few friends didn't either. Figured this makes it guide worthy.
* | | Update CHANGELOGSRafael Mendonça França2013-02-261-0/+3
| | |
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-02-267-16/+30
|\ \ \ | |/ / |/| |
| * | Update guide doc to use migration shortcutsQihuan Piao2013-02-251-1/+1
| | |
| * | Wrap `around_action` word with <code> tagQihuan Piao2013-02-251-1/+1
| | |
| * | Added documentation for beginning_of_minute and end_of_minute to Active ↵Gagan Awhad2013-02-221-1/+19
| | | | | | | | | | | | Support Core Extensions guide
| * | Link is not relevant anymorebobbus2013-02-221-5/+0
| | | | | | | | | Cannot find the screencast on the internet, guess it was removed
| * | Update the "upgrading" guide for people coming from 3.0 and 3.1. The latest ↵Arne Brasseur2013-02-201-4/+4
| | | | | | | | | | | | versions for 3.1 and 3.2 are now 3.2.12 and 3.1.11 respectively.
| * | Fix bug in code example from layouts and rendering guideBrian Kim2013-02-181-1/+2
| | | | | | | | | | | | | | | The code in 2.3.2 assumed that render has an alert option like redirect_to to create a flash alert message, but it doesn't.
| * | Update guides/source/active_record_querying.mdHanfei Shen2013-02-191-2/+2
| | | | | | | | | | | | Fix missing `ORDER BY id ASC` for Client.first(2); Uppercase the little y in the SQL equivalent of the Client.last(2).
| * | clarify singular and plural routesNoam Gagliardi2013-02-181-1/+1
| | | | | | | | | Found the wording on line 158 somewhat confusing. Added short example to clarify.
* | | Merge pull request #9419 from banyan/change-default-root-route-helperGuillermo Iguaran2013-02-251-2/+2
|\ \ \ | | | | | | | | Change default root route helper
| * | | Change default root route helperKohei Hasegawa2013-02-261-2/+2
| | | |
* | | | small typoJeff Dickey2013-02-251-1/+1
|/ / / | | | | | | small typo fix
* | | Preparing for 4.0.0.beta1 releaseDavid Heinemeier Hansson2013-02-251-1/+1
| | |
* | | update 4.0 release notes to reflect the removal of auto explain.Yves Senn2013-02-251-0/+2
| | |
* | | update the example for `after_commit` in the guides.Yves Senn2013-02-241-9/+7
| | | | | | | | | | | | This is a follow up to #9356.
* | | Merge pull request #9400 from senny/remove_auto_explain_threshold_in_secondsXavier Noria2013-02-244-49/+0
|\ \ \ | | | | | | | | remove config.auto_explain_threshold_in_seconds
| * | | remove AR auto-explain (config.auto_explain_threshold_in_seconds)Yves Senn2013-02-244-49/+0
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | We discussed that the auto explain feature is rarely used. This PR removes only the automatic explain. You can still display the explain output for any given relation using `ActiveRecord::Relation#explain`. As a side-effect this should also fix the connection problem during asset compilation (#9385). The auto explain initializer in the `ActiveRecord::Railtie` forced a connection.
* | | Mention the extraction of Active Resource in the upgrading guideRafael Mendonça França2013-02-241-0/+4
| | | | | | | | | | | | [ci skip]
* | | Mention the removal of attr_accessible and attr_protected in the upgrading guideRafael Mendonça França2013-02-241-0/+2
|/ / | | | | | | | | | | | | Point to the Protected Attributes gem to those who want a smoothly upgrade path before to change to use Strong Parameters. [ci skip]