Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | allow :dirs option for .enumerate | Brian D. Burns | 2013-01-15 | 1 | -6/+15 |
| | | | | | | Allows custom rake tasks to be defined using: SourceAnnotationExtractor.enumerate 'TODO|FIXME', dirs: %w(app lib), tag: true | ||||
* | use case statement | Brian D. Burns | 2013-01-15 | 1 | -10/+16 |
| | |||||
* | Deprecate `Rails::Generators::ActiveModel#update_attributes` | Carlos Antonio da Silva | 2013-01-12 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | Deprecate #update_attributes in favor of `#update`. ORMs that implement `Generators::ActiveModel#update_attributes` should change to `#update`. Scaffold controller generators should change calls like: @orm_instance.update_attributes(...) to: @orm_instance.update(...) This goes along with the addition of `ActiveRecord::Base#update`, introduced in cb2bd4aa619d9329c42aaf6d9f8eacc616ce53f4. | ||||
* | Merge pull request #8887 from rwz/controller-scaffold-codestyle | Rafael Mendonça França | 2013-01-10 | 2 | -3/+3 |
|\ | | | | | Controller scaffold codestyle | ||||
| * | More consistent quotes in scaffold generator | Pavel Pravosud | 2013-01-11 | 1 | -2/+2 |
| | | |||||
| * | Changed if ! to unless | Pavel Pravosud | 2013-01-11 | 1 | -1/+1 |
| | | |||||
* | | Specified jbuilder version | Pavel Pravosud | 2013-01-11 | 1 | -1/+1 |
|/ | |||||
* | Include jbuilder by default and rely on its scaffold generator to show json ↵ | David Heinemeier Hansson | 2013-01-10 | 4 | -75/+13 |
| | | | | API. The default scaffold will now just create HTML if the user actively opts out of jbuilder | ||||
* | remove performance tests from the default stack | Yves Senn | 2013-01-10 | 5 | -13/+2 |
| | |||||
* | extract PerformanceTest into rails-performance_tests gem | Yves Senn | 2013-01-10 | 9 | -134/+0 |
| | |||||
* | fire a notification when the request stops / starts | Aaron Patterson | 2013-01-09 | 1 | -2/+17 |
| | |||||
* | extract logger and development checks to methods | Aaron Patterson | 2013-01-09 | 1 | -6/+16 |
| | |||||
* | use multiline do-end blocks and rearrange definition for clarity | Matt Bridges | 2013-01-09 | 1 | -5/+5 |
| | |||||
* | mv README README.rdoc as app template file | Xavier Noria | 2013-01-08 | 2 | -4/+4 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-01-09 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: guides/source/getting_started.md | ||||
| * | make symbol reference in docs appear as code | Gosha Arinich | 2013-01-03 | 1 | -1/+1 |
| | | |||||
* | | Use absolute path | Ryunosuke SATO | 2013-01-08 | 1 | -3/+3 |
| | | | | | | | | It is semantically correct than relative path. | ||||
* | | Don't configure Turn output, we aren't using it since 3.2.0 | Guillermo Iguaran | 2013-01-07 | 1 | -7/+0 |
| | | |||||
* | | Merge pull request #8801 from ktheory/dont_require_turn | Guillermo Iguaran | 2013-01-07 | 1 | -5/+2 |
|\ \ | | | | | | | Don't require 'turn' from rails/test_help | ||||
| * | | Don't require 'turn' from rails/test_help | Aaron Suggs | 2013-01-07 | 1 | -5/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If 'turn' is in the Gemfile with `:require => nil`, Rails should respect that. This supports the case where 'turn' may or may not be required depending on different developers' preference or environment. E.g., you require turn for local testing, but not on your CI server by putting this in `test/test_helper.rb`: require 'turn' if ENV['TURN'] | ||||
* | | | Initialize instance variable to remove warning | Carlos Antonio da Silva | 2013-01-07 | 1 | -0/+4 |
| | | | | | | | | | | | | actions.rb:34: warning: instance variable @in_group not initialized | ||||
* | | | new README generated for new apps | Xavier Noria | 2013-01-08 | 1 | -252/+16 |
| | | | |||||
* | | | doc/README_FOR_APP is no longer generated | Xavier Noria | 2013-01-08 | 3 | -12/+5 |
| | | | |||||
* | | | Revert some warning removals related to Ruby 2.0 | Carlos Antonio da Silva | 2013-01-07 | 1 | -2/+0 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These warnings were actually a bug in Ruby 2.0, the accessors should not be raising such warnings, they are only meant for ivars. - Revert "fix warnings in Ruby 2.0" This reverts commit 26702a6d3461f4a1c75165030b96886514ecb877. - Revert "Merge pull request #8282 from arunagw/warning_removed_for_ruby2" This reverts commit f63d6544e45e78cda29c0c56fbdf3d9e1f405340, reversing changes made to 3a890681fad8218305585036abed6d7463a44e41. | ||||
* | | Use similar comment style | David Heinemeier Hansson | 2013-01-07 | 2 | -2/+2 |
| | | |||||
* | | Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. ↵ | Jeremy Kemper | 2013-01-06 | 16 | -71/+81 |
| | | | | | | | | Executable scripts are versioned code like the rest of your app. To generate a stub for a bundled gem: 'bundle binstubs unicorn' and 'git add bin/unicorn' | ||||
* | | Merge pull request #8263 from senny/refactor_plugin_new_generator | Yehuda Katz | 2013-01-06 | 5 | -11/+13 |
|\ \ | | | | | | | refactor the naming within plugin new generator | ||||
| * | | refactor the naming within plugin new generator | Yves Senn | 2012-11-18 | 5 | -11/+13 |
| | | | | | | | | | | | | | | | | | | Having a method called `full?`, which checks on :full and :mountable is very confusing. I renamed `full?` to `engine?` and created a `full?` method that only checks the `:full` option | ||||
* | | | Rescue from LoadError when trying to load the debugger gem for console | Carlos Antonio da Silva | 2013-01-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Avoid swallowing all exceptions that might happen when requiring debugger, just catch a LoadError if it cannot be loaded. Check for more background: https://github.com/rails/rails/commit/28fd867c9bc790636d37a28f288791cd0089a6fd#commitcomment-2386952 | ||||
* | | | Move table routes formatter class to the inspector and rename it | Carlos Antonio da Silva | 2013-01-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | It feels more consistent to have this class called "HtmlTableFormatter", and to have it here with the routes inspector and console formatter, since it's used for both routing error exceptions and the rails info page. | ||||
* | | | Merge pull request #8777 from goshakkk/delegate-class | Andrew White | 2013-01-06 | 2 | -2/+2 |
|\ \ \ | | | | | | | | | Delegate to :class rather than 'self.class' | ||||
| * | | | delegate to :class rather than 'self.class' | Gosha Arinich | 2013-01-06 | 2 | -2/+2 |
| | | | | |||||
* | | | | Improve javascript in welcome page [ci skip] | Carlos Antonio da Silva | 2013-01-06 | 1 | -4/+5 |
| | | | | |||||
* | | | | This is not that common of a change to warrant top-line billing and you ↵ | David Heinemeier Hansson | 2013-01-06 | 1 | -6/+1 |
| | | | | | | | | | | | | | | | | should read more about the consequences than just toggling a boolean to make best use of it | ||||
* | | | | Include the standard reminder that you need to restart for changes in ↵ | David Heinemeier Hansson | 2013-01-06 | 2 | -0/+4 |
| | | | | | | | | | | | | | | | | config/initializers to take effect | ||||
* | | | | Update generated app's README [ci skip] | Akira Matsuda | 2013-01-06 | 1 | -7/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * a controller that destroying Weblogs might be WeblogsController * a controller that indexing Posts might be PostsController * Post.all returns a Relation * modernize Model.inspect results | ||||
* | | | | The controller generator invokes assets generator in addition | Akira Matsuda | 2013-01-06 | 1 | -1/+1 |
| | | | | |||||
* | | | | Fix generated migration file name in model generator USAGE | Akira Matsuda | 2013-01-06 | 1 | -7/+7 |
|/ / / | |||||
* | | | prefer do-end for multiline block | Gosha Arinich | 2013-01-06 | 1 | -2/+2 |
| | | | |||||
* | | | Move config.filter_parameters to you own initializer file | Rafael Mendonça França | 2013-01-05 | 2 | -3/+2 |
| | | | | | | | | | | | | This is very rarely changed and does not deserve to be in application.rb | ||||
* | | | Needless fancy structure that did not anything | David Heinemeier Hansson | 2013-01-05 | 1 | -1/+3 |
| | | | |||||
* | | | Fix indention issue in generated template | David Heinemeier Hansson | 2013-01-05 | 1 | -2/+2 |
| | | | |||||
* | | | Fix indention issue in generated template | David Heinemeier Hansson | 2013-01-05 | 1 | -2/+2 |
| | | | |||||
* | | | No need to give an example where there is generated code right there to ↵ | David Heinemeier Hansson | 2013-01-05 | 1 | -5/+1 |
| | | | | | | | | | | | | serve as the example | ||||
* | | | config.assets.enabled is now true by default | David Heinemeier Hansson | 2013-01-05 | 3 | -8/+8 |
| | | | |||||
* | | | allow toggling about env, not just showing | Gosha Arinich | 2013-01-05 | 1 | -7/+11 |
| | | | |||||
* | | | Move style to head to make routes page valid html5 | Carlos Antonio da Silva | 2013-01-05 | 1 | -0/+2 |
| | | | |||||
* | | | Redirect using action hash instead of hardcoding full route | Carlos Antonio da Silva | 2013-01-05 | 1 | -1/+1 |
| | | | |||||
* | | | Change Rails Info controller to use the new table routes formatter | Carlos Antonio da Silva | 2013-01-05 | 2 | -5/+2 |
| | | | |||||
* | | | split formatting concerns from RoutesInspector | Yves Senn | 2013-01-05 | 1 | -2/+2 |
| | | |