Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Turn turbolinks on by default for new apps | David Heinemeier Hansson | 2012-10-04 | 3 | -4/+11 |
| | |||||
* | Make Rails.public_path return a Pathname | Prem Sichanugrist | 2012-10-02 | 1 | -1/+1 |
| | |||||
* | Merge pull request #6952 from NZKoz/key_generator | Michael Koziarski | 2012-10-02 | 1 | -1/+10 |
|\ | | | | | Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2 | ||||
| * | Provide access to the application's KeyGenerator | Michael Koziarski | 2012-10-01 | 1 | -1/+10 |
| | | | | | | | | Available both as an env entry for rack and an instance method on Rails::Application for other uses | ||||
* | | Merge pull request #7794 from guilleiguaran/extract-rack-cache | Santiago Pastorino | 2012-10-01 | 2 | -0/+10 |
|\ \ | | | | | | | Use Rack::Cache middleware only if is in Gemfile | ||||
| * | | Add rack-cache to default Gemfile | Guillermo Iguaran | 2012-10-01 | 1 | -0/+4 |
| | | | |||||
| * | | Use Rack::Cache middleware only if is in Gemfile | Guillermo Iguaran | 2012-10-01 | 1 | -0/+6 |
| |/ | |||||
* / | Fixed generated whitespace in routes when using namespaced resource. | Jeremy Walker | 2012-09-29 | 1 | -4/+41 |
|/ | |||||
* | Assets cache shouldn't be shared between different environments | Guillermo Iguaran | 2012-09-28 | 2 | -2/+4 |
| | |||||
* | Tune up Rails::Rack::Logger. Only put space between requests in development ↵ | Jeremy Kemper | 2012-09-26 | 1 | -14/+23 |
| | | | | logs. | ||||
* | Log newlines separately to ensure the 'Started GET ...' line has a tag on ↵ | Jeremy Kemper | 2012-09-25 | 1 | -1/+2 |
| | | | | the same line | ||||
* | Only apply log tags if the logger supports it | Jeremy Kemper | 2012-09-24 | 1 | -1/+1 |
| | |||||
* | Remove of an extra line in template configuration file. | Geoffrey Roguelon | 2012-09-24 | 1 | -1/+0 |
| | |||||
* | Removed sorting of attribute names in controller generator. | Brian Morearty | 2012-09-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | I believe when people use generators, they typically order the parameters on the command line in an order that makes sense to them. Sorting them in the generated code makes the order seem more arbitrary to humans, even though it's less arbitrary to computers. :-) Example: rails g scaffold Post title:string content:text The human chose to put title before content. Sorted attributes in the generated code work but don't match the human's intent: params.require(:posts).permit(:content, :title) | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-09-21 | 2 | -3/+3 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb activesupport/lib/active_support/configurable.rb activesupport/lib/active_support/core_ext/module/deprecation.rb guides/source/action_controller_overview.md guides/source/active_support_core_extensions.md guides/source/ajax_on_rails.textile guides/source/association_basics.textile guides/source/upgrading_ruby_on_rails.md While resolving conflicts, I have chosen to ignore changes done in docrails at some places - these will be most likely 1.9 hash syntax changes. | ||||
| * | Updated description of what engines are used for | Stephan Hagemann | 2012-09-21 | 1 | -2/+2 |
| | | |||||
| * | Remove redundant 'the'. | Uģis Ozols | 2012-09-13 | 1 | -1/+1 |
| | | |||||
* | | Remove highly uncommon `config.assets.manifest` option for moving the ↵ | Guillermo Iguaran | 2012-09-19 | 1 | -1/+0 |
| | | | | | | | | | | | | manifest path. This option is now unsupported in sprockets-rails. | ||||
* | | Merge pull request #7251 from rails/integrate-strong_parameters | David Heinemeier Hansson | 2012-09-18 | 5 | -15/+16 |
|\ \ | | | | | | | Integrate strong_parameters in Rails 4 | ||||
| * | | Change scaffold_generator: Don't use #require or #permit in scaffold if ↵ | Guillermo Iguaran | 2012-09-16 | 1 | -0/+4 |
| | | | | | | | | | | | | attributes list isn't given | ||||
| * | | Change scaffold_controller to generate and use private method to encapsulate ↵ | Guillermo Iguaran | 2012-09-16 | 2 | -2/+12 |
| | | | | | | | | | | | | permissible params | ||||
| * | | Remove all references to attr_accessible/protected and old ↵ | Guillermo Iguaran | 2012-09-16 | 3 | -13/+0 |
| | | | | | | | | | | | | mass_assignment_sanitizers | ||||
* | | | Merge pull request #5339 from gregolsen/week_start_config | Rafael Mendonça França | 2012-09-18 | 1 | -1/+2 |
|\ \ \ | | | | | | | | | week_start option added to rails app config | ||||
| * | | | Date.beginning_of_week thread local and beginning_of_week application config ↵ | gregolsen | 2012-09-18 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | option added (default is Monday) | ||||
* | | | | Remove 'assigned but unused variable' warning | Steve Klabnik | 2012-09-18 | 1 | -1/+2 |
|/ / / | |||||
* / / | Fix build for Queue. | Arun Agrawal | 2012-09-17 | 1 | -1/+1 |
|/ / | |||||
* | | Clarify the documentation on the Rails::Application#call method | David Czarnecki | 2012-09-15 | 1 | -2/+2 |
| | | |||||
* | | Move queue classes to ActiveSupport | Santiago Pastorino | 2012-09-14 | 7 | -123/+9 |
| | | |||||
* | | Merge pull request #7616 from lest/null-session-forgery-protection | Michael Koziarski | 2012-09-13 | 1 | -1/+1 |
|\ \ | | | | | | | Implement :null_session CSRF protection method | ||||
| * | | Implement :null_session CSRF protection method | Sergey Nartimov | 2012-09-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | It's further work on CSRF after 245941101b1ea00a9b1af613c20b0ee994a43946. The :null_session CSRF protection method provide an empty session during request processing but doesn't reset it completely (as :reset_session does). | ||||
* | | | change app/plugin generators to be more SCM agnostic | Derek Prior | 2012-09-12 | 3 | -61/+64 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Users of other SCM's can now generate rails apps that will add the "empty" directories to source control, but will not have a useless .gitignore or mis-named .gitkeep files. * Change `rails new` and `rails plugin new` generators to name the `.gitkeep` as `.keep` in a more SCM-agnostic way. * Change `--skip-git` option to only skip the `.gitignore` file and still generate the `.keep` files. * Add `--skip-keeps` option to skip the `.keep` files. It closes #2800. | ||||
* | | | Remove the queue configuration from the environments templates since the | Rafael Mendonça França | 2012-09-12 | 2 | -4/+1 |
| | | | | | | | | | | | | default is the SynchronousQueue. | ||||
* | | | Use the SynchronousQueue as default in production and development. | Rafael Mendonça França | 2012-09-12 | 2 | -4/+4 |
| | | | | | | | | | | | | | | | We should not let the users use the ThreadedConsumer without know about the risks | ||||
* | | | Action Mailer async flag is true by default using a Synchronous impl | Santiago Pastorino | 2012-09-11 | 3 | -4/+9 |
|/ / | |||||
* / | Support MySQL SSL in rails dbconsole. | needfeed | 2012-09-10 | 1 | -1/+6 |
|/ | |||||
* | require bundle in the app generator | Xavier Noria | 2012-09-01 | 1 | -0/+1 |
| | | | | | | | The app generator is not generally run under bundler, but the Bundler constant is used here. In particular you cannot create --dev apps without this. | ||||
* | Use Bundler.with_clean_env instead of custom code | Piotr Sarnacki | 2012-08-31 | 1 | -6/+3 |
| | |||||
* | Revert "Revert changes related to `bundle install` fixes in `rails new`" | Piotr Sarnacki | 2012-08-31 | 1 | -1/+10 |
| | | | | | | | | The cause of the previous revert was bug in bundler that made it hard to make railties test work. Fix for bundler was recently pushed to github, so now we can safely get back to the original commit. This reverts commit 0f5cc34ab58cda99d1401ecc82e1ebb873838dd7. | ||||
* | Change generators controller help from singular to plural example. | Philipp Weissensteiner | 2012-08-28 | 1 | -6/+6 |
| | | | | | | | When running `rails generate controller --help` an example with creating a (singular) "CreditCard" controller is shown. The convention is to generate controllers with plural names though. | ||||
* | Raise more helpful error message on missing gem | Prem Sichanugrist | 2012-08-24 | 1 | -0/+7 |
| | | | | | | Tell people to install `activerecord-session_store` gem when it's not installed instead ofraising `NameError` on missing `ActionDispatch::Session::ActiveRecordStore`. | ||||
* | Remove meta Sesion Migration generator | Prem Sichanugrist | 2012-08-24 | 2 | -16/+0 |
| | |||||
* | Extract ActiveRecord::SessionStore from Rails | Prem Sichanugrist | 2012-08-24 | 3 | -8/+0 |
| | | | | | This functionality will be available from gem `active_record-session_store` instead. | ||||
* | Fix failure on middleware/exceptions_test | José Valim | 2012-08-23 | 1 | -1/+1 |
| | | | | | | | The reason the test was failing was because when the test invokes `app.config`, the app is loaded and, as `eager_load` is set to true, it disables the dependency loading mechanism, so controllers that are later defined are not loaded. | ||||
* | Update the ducumentation about the before_eager_load callback [ci skip] | Rafael Mendonça França | 2012-08-22 | 1 | -1/+1 |
| | |||||
* | edit secret token template comment [ci skip] | Vijay Dev | 2012-08-23 | 1 | -1/+1 |
| | |||||
* | remind user a good way to generate a secret code. | Teng Siong Ong | 2012-08-21 | 1 | -0/+3 |
| | |||||
* | Merge pull request #7225 from rails/eager_load | José Valim | 2012-08-21 | 11 | -27/+65 |
|\ | | | | | Improve eager load on Rails | ||||
| * | add Rack::Lock for webrick | Aaron Patterson | 2012-08-21 | 1 | -0/+9 |
| | | |||||
| * | Deprecate config.threadsafe! | José Valim | 2012-08-21 | 1 | -4/+3 |
| | | |||||
| * | Get rid of config.preload_frameworks in favor of config.eager_load_namespaces | José Valim | 2012-08-21 | 7 | -21/+18 |
| | | | | | | | | | | | | | | The new option allows any Ruby namespace to be registered and set up for eager load. We are effectively exposing the structure existing in Rails since v3.0 for all developers in order to make their applications thread-safe and CoW friendly. |