aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
Commit message (Collapse)AuthorAgeFilesLines
...
* | Gotta log each spacer line separately to ensure each is taggedJeremy Kemper2012-10-061-1/+4
| |
* | Tag the blank log line between dev requests so it's easier to filter out ↵Jeremy Kemper2012-10-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | entire requests with grep -v without leaving a stray newline behind. Example: # Tag asset requests so it's easy to filter them from dev logs config.log_tags = [ -> request { :assets if request.path.starts_with?(config.assets.prefix) }, -> request { request.uuid } ] # Watch the logs, ignoring asset requests $ tail -100f log/development.log | grep -v assets
* | Remove unneeded attr_readerRafael Mendonça França2012-10-071-1/+0
| |
* | use Rails backtrace in testsFrancesco Rodriguez2012-10-051-0/+4
| |
* | Revert "Use flat_map { } instead of map {}.flatten"Santiago Pastorino2012-10-054-5/+5
| | | | | | | | | | | | | | | | | | | | | | This reverts commit abf8de85519141496a6773310964ec03f6106f3f. We should take a deeper look to those cases flat_map doesn't do deep flattening. irb(main):002:0> [[[1,3], [1,2]]].map{|i| i}.flatten => [1, 3, 1, 2] irb(main):003:0> [[[1,3], [1,2]]].flat_map{|i| i} => [[1, 3], [1, 2]]
* | Use flat_map { } instead of map {}.flattenSantiago Pastorino2012-10-054-5/+5
| |
* | Comment rack-cache entry on GemfileGuillermo Iguaran2012-10-041-1/+1
| |
* | config.action_dispatch.rack_cache should set explicitly to enable Rack::CacheGuillermo Iguaran2012-10-042-0/+14
| |
* | Strip heredoc to not generate the Gemfile with trailing spacesRafael Mendonça França2012-10-041-2/+2
| |
* | Turn turbolinks on by default for new appsDavid Heinemeier Hansson2012-10-043-4/+11
| |
* | Merge pull request #6952 from NZKoz/key_generatorMichael Koziarski2012-10-021-1/+10
|\ \ | | | | | | Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2
| * | Provide access to the application's KeyGeneratorMichael Koziarski2012-10-011-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-cacheSantiago Pastorino2012-10-012-0/+10
|\ \ \ | | | | | | | | Use Rack::Cache middleware only if is in Gemfile
| * | | Add rack-cache to default GemfileGuillermo Iguaran2012-10-011-0/+4
| | | |
| * | | Use Rack::Cache middleware only if is in GemfileGuillermo Iguaran2012-10-011-0/+6
| |/ /
* / / Fixed generated whitespace in routes when using namespaced resource.Jeremy Walker2012-09-291-4/+41
|/ /
* / Assets cache shouldn't be shared between different environmentsGuillermo Iguaran2012-09-282-2/+4
|/
* Tune up Rails::Rack::Logger. Only put space between requests in development ↵Jeremy Kemper2012-09-261-14/+23
| | | | logs.
* Log newlines separately to ensure the 'Started GET ...' line has a tag on ↵Jeremy Kemper2012-09-251-1/+2
| | | | the same line
* Only apply log tags if the logger supports itJeremy Kemper2012-09-241-1/+1
|
* Remove of an extra line in template configuration file.Geoffrey Roguelon2012-09-241-1/+0
|
* Removed sorting of attribute names in controller generator.Brian Morearty2012-09-231-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/docrailsVijay Dev2012-09-212-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 forStephan Hagemann2012-09-211-2/+2
| |
| * Remove redundant 'the'.Uģis Ozols2012-09-131-1/+1
| |
* | Remove highly uncommon `config.assets.manifest` option for moving the ↵Guillermo Iguaran2012-09-191-1/+0
| | | | | | | | | | | | manifest path. This option is now unsupported in sprockets-rails.
* | Merge pull request #7251 from rails/integrate-strong_parametersDavid Heinemeier Hansson2012-09-185-15/+16
|\ \ | | | | | | Integrate strong_parameters in Rails 4
| * | Change scaffold_generator: Don't use #require or #permit in scaffold if ↵Guillermo Iguaran2012-09-161-0/+4
| | | | | | | | | | | | attributes list isn't given
| * | Change scaffold_controller to generate and use private method to encapsulate ↵Guillermo Iguaran2012-09-162-2/+12
| | | | | | | | | | | | permissible params
| * | Remove all references to attr_accessible/protected and old ↵Guillermo Iguaran2012-09-163-13/+0
| | | | | | | | | | | | mass_assignment_sanitizers
* | | Merge pull request #5339 from gregolsen/week_start_configRafael Mendonça França2012-09-181-1/+2
|\ \ \ | | | | | | | | week_start option added to rails app config
| * | | Date.beginning_of_week thread local and beginning_of_week application config ↵gregolsen2012-09-181-1/+2
| | | | | | | | | | | | | | | | option added (default is Monday)
* | | | Remove 'assigned but unused variable' warningSteve Klabnik2012-09-181-1/+2
|/ / /
* / / Fix build for Queue.Arun Agrawal2012-09-171-1/+1
|/ /
* | Clarify the documentation on the Rails::Application#call methodDavid Czarnecki2012-09-151-2/+2
| |
* | Move queue classes to ActiveSupportSantiago Pastorino2012-09-146-122/+9
| |
* | Merge pull request #7616 from lest/null-session-forgery-protectionMichael Koziarski2012-09-131-1/+1
|\ \ | | | | | | Implement :null_session CSRF protection method
| * | Implement :null_session CSRF protection methodSergey Nartimov2012-09-131-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 agnosticDerek Prior2012-09-123-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 theRafael Mendonça França2012-09-122-4/+1
| | | | | | | | | | | | default is the SynchronousQueue.
* | | Use the SynchronousQueue as default in production and development.Rafael Mendonça França2012-09-122-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 implSantiago Pastorino2012-09-113-4/+9
|/ /
* / Support MySQL SSL in rails dbconsole.needfeed2012-09-101-1/+6
|/
* require bundle in the app generatorXavier Noria2012-09-011-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 codePiotr Sarnacki2012-08-311-6/+3
|
* Revert "Revert changes related to `bundle install` fixes in `rails new`"Piotr Sarnacki2012-08-311-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 Weissensteiner2012-08-281-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 gemPrem Sichanugrist2012-08-241-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 generatorPrem Sichanugrist2012-08-242-16/+0
|
* Extract ActiveRecord::SessionStore from RailsPrem Sichanugrist2012-08-243-8/+0
| | | | | This functionality will be available from gem `active_record-session_store` instead.