Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Created an unscope method for removing relations from a chain of | wangjohn | 2013-03-03 | 1 | -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 Senn | 2013-03-03 | 1 | -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. | ||||
* | Restore note about nested SCRIPT_NAME handling. | Jeremy Kemper | 2013-03-01 | 1 | -0/+2 |
| | |||||
* | Support creating a table migration generator | Sammy Larbi | 2013-03-01 | 1 | -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 notes | Jeremy Kemper | 2013-02-28 | 1 | -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::ParseError | Trevor Turk | 2013-02-28 | 1 | -0/+2 |
| | |||||
* | Document that scopes require a callable object | Trevor Turk | 2013-02-28 | 1 | -1/+9 |
| | |||||
* | Document common deprecations | Trevor Turk | 2013-02-28 | 1 | -0/+11 |
| | |||||
* | Document the deprecation of ActionView::RecordIdentifier | Trevor Turk | 2013-02-28 | 1 | -0/+2 |
| | |||||
* | Document ActiveRecord::Fixtures becoming ActiveRecord::FixtureSet | Trevor Turk | 2013-02-28 | 1 | -0/+2 |
| | |||||
* | Document change in routes using match | Trevor Turk | 2013-02-28 | 1 | -0/+13 |
| | |||||
* | Document removal of assets:precompile:primary | Trevor Turk | 2013-02-28 | 1 | -0/+4 |
| | |||||
* | Document sass-rails asset_url deprecation | Trevor Turk | 2013-02-28 | 1 | -0/+4 |
| | |||||
* | Document caveat from 5b3bb61 which fixed handling SCRIPT_NAME from within ↵ | Trevor Turk | 2013-02-28 | 1 | -0/+3 |
| | | | | mounted engine | ||||
* | Document rails-observers extraction | Trevor Turk | 2013-02-28 | 1 | -0/+4 |
| | |||||
* | Document the switch from memcache-client to dalli | Trevor Turk | 2013-02-28 | 1 | -0/+2 |
| | |||||
* | Improve docs for UpgradeSignatureToEncryptionCookieStore | Trevor Turk | 2013-02-28 | 1 | -1/+10 |
| | |||||
* | Document extraction of actionpack-xml_parser | Trevor Turk | 2013-02-28 | 1 | -0/+2 |
| | |||||
* | Document introduction of the ActionController::UnknownFormat exception | Trevor Turk | 2013-02-28 | 1 | -0/+2 |
| | |||||
* | Merge pull request #9359 from justinwb/master | Carlos Antonio da Silva | 2013-02-27 | 1 | -1/+0 |
|\ | | | | | Removed template_root as a configuration option | ||||
| * | Removed template_root as a configuration option | Justin Bingham | 2013-02-21 | 1 | -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_guide | Carlos Antonio da Silva | 2013-02-26 | 1 | -0/+10 |
|\ \ | | | | | | | Add routing guide doc on root with namespaces. [ci skip] | ||||
| * | | Add routing guide doc on root with namespaces. | Brendon Murphy | 2013-02-26 | 1 | -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. | ||||
* | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-02-26 | 7 | -16/+30 |
|\ \ \ | |/ / |/| | | |||||
| * | | Update guide doc to use migration shortcuts | Qihuan Piao | 2013-02-25 | 1 | -1/+1 |
| | | | |||||
| * | | Wrap `around_action` word with <code> tag | Qihuan Piao | 2013-02-25 | 1 | -1/+1 |
| | | | |||||
| * | | Added documentation for beginning_of_minute and end_of_minute to Active ↵ | Gagan Awhad | 2013-02-22 | 1 | -1/+19 |
| | | | | | | | | | | | | Support Core Extensions guide | ||||
| * | | Link is not relevant anymore | bobbus | 2013-02-22 | 1 | -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 Brasseur | 2013-02-20 | 1 | -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 guide | Brian Kim | 2013-02-18 | 1 | -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.md | Hanfei Shen | 2013-02-19 | 1 | -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 routes | Noam Gagliardi | 2013-02-18 | 1 | -1/+1 |
| | | | | | | | | | Found the wording on line 158 somewhat confusing. Added short example to clarify. | ||||
* | | | small typo | Jeff Dickey | 2013-02-25 | 1 | -1/+1 |
| | | | | | | | | | small typo fix | ||||
* | | | update 4.0 release notes to reflect the removal of auto explain. | Yves Senn | 2013-02-25 | 1 | -0/+2 |
| | | | |||||
* | | | update the example for `after_commit` in the guides. | Yves Senn | 2013-02-24 | 1 | -9/+7 |
| | | | | | | | | | | | | This is a follow up to #9356. | ||||
* | | | Merge pull request #9400 from senny/remove_auto_explain_threshold_in_seconds | Xavier Noria | 2013-02-24 | 2 | -41/+0 |
|\ \ \ | | | | | | | | | remove config.auto_explain_threshold_in_seconds | ||||
| * | | | remove AR auto-explain (config.auto_explain_threshold_in_seconds) | Yves Senn | 2013-02-24 | 2 | -41/+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 guide | Rafael Mendonça França | 2013-02-24 | 1 | -0/+4 |
| | | | | | | | | | | | | [ci skip] | ||||
* | | | Mention the removal of attr_accessible and attr_protected in the upgrading guide | Rafael Mendonça França | 2013-02-24 | 1 | -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] | ||||
* | | Add more documentation for create_join_table. | Marc Schütz | 2013-02-20 | 1 | -0/+10 |
| | | | | | | | | | | Explain that it doesn't create indices by default and that it also has a block form. | ||||
* | | Remove XML Parser from ActionDispatch | Prem Sichanugrist | 2013-02-20 | 1 | -3/+5 |
| | | | | | | | | | | If you want an ability to parse XML parameters, please install `actionpack-xml_parser` gem. | ||||
* | | Improve upgrading guide with ActionDispatch::BestStandardsSupport removal | robertomiranda | 2013-02-19 | 1 | -0/+10 |
| | | |||||
* | | fixes a typo in the migrations guide | Xavier Noria | 2013-02-19 | 1 | -1/+1 |
| | | |||||
* | | Document changes in #7968 | Brian Alexander | 2013-02-18 | 1 | -0/+1 |
| | | |||||
* | | Gist URLs are now namespaced | Akira Matsuda | 2013-02-18 | 2 | -2/+2 |
|/ | | | | see: https://github.com/blog/1406-namespaced-gists | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-02-15 | 4 | -3/+35 |
|\ | | | | | | | | | Conflicts: guides/source/upgrading_ruby_on_rails.md | ||||
| * | copy edits [ci skip] | Vijay Dev | 2013-02-15 | 1 | -2/+2 |
| | | |||||
| * | Revert "incorrect content of models/comment.rb after 'rails generate'" | Rafael Mendonça França | 2013-02-13 | 1 | -2/+0 |
| | | | | | | | | | | | | | | This reverts commit 0f0803fda5df60319d8646bb4f3e71f2e596316a. Reason: The content was correct since attr_accessible was removed from rails master. | ||||
| * | incorrect content of models/comment.rb after 'rails generate' | Kuba Brecka | 2013-02-13 | 1 | -0/+2 |
| | | |||||
| * | Detail Ruby 1.8 ships with TestUnit and Ruby 1.9 with MiniTest | Americo Savinon | 2013-02-12 | 1 | -1/+4 |
| | |