Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve wording for rails test command | Dalibor Nasevic | 2013-03-09 | 1 | -4/+3 |
| | |||||
* | Add support for MiniTest flags in TestRunner | Prem Sichanugrist | 2013-03-09 | 1 | -20/+5 |
| | | | | | Any flags that got set will be passed through to MiniTest::Unit.runner, such as `-n`, `-s-, and `-v`. | ||||
* | Update testing documentation | Prem Sichanugrist | 2013-03-09 | 1 | -63/+71 |
| | | | | | | | * Update test invocation to use `rails test` instead. * Update all the test command previews (since we're now using MiniTest.) * Mentioning MiniTest instead of Test::Unit. * Update list of test suites. | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-03-10 | 7 | -14/+90 |
|\ | |||||
| * | copy edits [ci skip] | Vijay Dev | 2013-03-10 | 2 | -4/+4 |
| | | |||||
| * | fixed typo in strong parameters example | Yves Senn | 2013-03-09 | 1 | -1/+1 |
| | | |||||
| * | strong parameter example for hashes with integer keys. | Yves Senn | 2013-03-09 | 1 | -0/+14 |
| | | | | | | | | | | This replicates the situation described in https://github.com/rails/strong_parameters/issues/114 | ||||
| * | Adding a note for :body option in `mail` method. | Fabrizio Regini | 2013-03-08 | 1 | -0/+13 |
| | | |||||
| * | fixing typo in the merging scopes section | Neeraj Singh | 2013-03-08 | 1 | -4/+3 |
| | | |||||
| * | Explained how merging of scope works | Neeraj Singh | 2013-03-08 | 1 | -0/+56 |
| | | |||||
| * | Some copy edit and formatting for upgrading guide. | Hendy Tanata | 2013-03-08 | 1 | -3/+3 |
| | | |||||
| * | remove the new metadata note in Rails 4 upgrade guide | Alex Robbin | 2013-03-07 | 1 | -6/+0 |
| | | | | | | | | this was pulled out of Rails 4, see rails/rails#8399 for the discussion | ||||
| * | fixes active_record_querying #pluck example | awilliams | 2013-03-07 | 1 | -1/+1 |
| | | |||||
| * | Typppo | Akira Matsuda | 2013-03-06 | 2 | -3/+3 |
| | | |||||
* | | Merge pull request #9507 from senny/9483_migrations_without_transactions | Rafael Mendonça França | 2013-03-06 | 1 | -1/+5 |
|\ \ | |/ |/| | Transactions can be turned off per Migration | ||||
| * | transactions can be turned off per Migration. | Yves Senn | 2013-03-05 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | | Closes #9483. There are SQL Queries that can't run inside a transaction. Since the Migrator used to wrap all Migrations inside a transaction there was no way to run these queries within a migration. This patch adds `self.disable_ddl_transaction!` to the migration to turn transactions off when necessary. | ||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-03-05 | 3 | -5/+3 |
|\ \ | |/ |/| | |||||
| * | Remove reference to BugMash. Link hasn't been updated in 4 years. | Jonathan Roes | 2013-03-05 | 1 | -2/+0 |
| | | |||||
| * | Add explanation of :dependent => :restrict | David Deller | 2013-03-01 | 1 | -1/+1 |
| | | | | | | Based on information here: http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html#method-i-has_many | ||||
| * | Reverting commit regarding public/index.html (no longer in Rails 4.) | Christine Hertzel | 2013-03-01 | 1 | -2/+0 |
| | | | | | | | | This reverts commit f8461f73c77c186ad0aa735fe9877990bffe1990. | ||||
| * | Fixed grammatical error and simplified paragraph concerning controllers. | Christine Hertzel | 2013-03-01 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Chelsea Macaluso <c.macaluso@modcloth.com> | ||||
| * | Clarified removal of public/index.html file | Chelsea Macaluso | 2013-03-01 | 1 | -0/+2 |
| | | | | | | | | Signed-off-by: Trent Michaels <t.michaels@modcloth.com> | ||||
| * | Clarified need to remove existing code in welcome index. | Trent Michaels | 2013-03-01 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Chelsea Macaluso <c.macaluso@modcloth.com> | ||||
* | | Fix typo in AC overview guide [ci skip] | Carlos Antonio da Silva | 2013-03-05 | 1 | -1/+1 |
| | | |||||
* | | example for `accepts_nested_attribtues_for` and strong parameters. | Yves Senn | 2013-03-05 | 1 | -0/+9 |
| | | | | | | | | Closes #9558. | ||||
* | | strong parameters example for default values using `fetch`. [ci skip] | Yves Senn | 2013-03-05 | 1 | -0/+12 |
| | | | | | | | | Origin: #9534. | ||||
* | | 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 |
|\ \ \ | |/ / |/| | |