Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | use AS::Logger so we are consistent | Aaron Patterson | 2012-03-12 | 1 | -1/+1 | |
| | | | ||||||
* | | | allow people to specify custom formatters, use the default formatter in ↵ | Aaron Patterson | 2012-03-12 | 4 | -4/+10 | |
|/ / | | | | | | | production so that PID and timestamp are logged. fixes #5388 | |||||
* | | Merge pull request #5326 from lest/patch-2 | Michael Koziarski | 2012-03-10 | 1 | -1/+3 | |
|\ \ | | | | | | | configure how unverified request will be handled | |||||
| * | | configure how unverified request will be handled | Sergey Nartimov | 2012-03-09 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can be configured using `:with` option in `protect_from_forgery` method or `request_forgery_protection_method` config option possible values: - :reset_session (default) - :exception new applications are generated with: protect_from_forgery :with => :exception | |||||
* | | | Change api_only to http_only | Carlos Antonio da Silva | 2012-03-10 | 2 | -10/+10 | |
| | | | | | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | | | Add some docs for MiddlewareStackProxy methods and api_only! | Carlos Antonio da Silva | 2012-03-10 | 1 | -2/+39 | |
| |/ |/| | | | | | [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-03-09 | 1 | -1/+1 | |
|\ \ | ||||||
| * | | Fix typo in isolated engine docs | Caius Durling | 2012-03-06 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge pull request #5162 from kennyj/schema_cache_dump | Aaron Patterson | 2012-03-07 | 1 | -1/+2 | |
|\ \ \ | | | | | | | | | [Proposal] Schema cache dump | |||||
| * | | | Load db/schema_cache.dump duaring boot time. | kennyj | 2012-03-01 | 1 | -1/+2 | |
| |/ / | ||||||
* | / | Revert "let the connection pool of new applications have size 1 rather than 5" | Xavier Noria | 2012-03-07 | 3 | -27/+9 | |
| |/ |/| | | | | | | | | | | | Reason: Temporarily reverting this because it has uncovered an issue that prevents Sam's test suite from passing. This reverts commit 9b2c38b7bd582d9712c3779294a9bccde7bbd548. | |||||
* | | Add config.middleware.api_only! | Carlos Antonio da Silva and Santiago Pastorino | 2012-03-05 | 2 | -4/+12 | |
| | | ||||||
* | | Only add the whitelist_attributes option if ActiveRecord is present | Rafael Mendonça França | 2012-03-04 | 1 | -1/+1 | |
| | | ||||||
* | | Whitelist all attribute assignment by default. | Michael Koziarski | 2012-03-05 | 1 | -1/+1 | |
| | | | | | | | | Change the default for newly generated applications to whitelist all attribute assignment. Also update the generated model classes so users are reminded of the importance of attr_accessible. | |||||
* | | Handle files from ActionDispatch::Static with Rack::Sendfile (fixes #5225) | Piotr Sarnacki | 2012-03-03 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | This makes rails behave properly when you serve static assets and you have X-Sendfile headers enabled. Nevertheless in most cases you should not rely on that and serve static assets with a webserver like Apache or Nginx (as you already have it in place anyway if you use X-Sendfile) | |||||
* | | remove usages of AS::OrderedHash | Vishnu Atrai | 2012-03-03 | 1 | -1/+1 | |
|/ | ||||||
* | ruby19: no need to rescue when requiring 'rdoc/task' in Ruby >= 1.9 | Akira Matsuda | 2012-02-27 | 2 | -14/+3 | |
| | ||||||
* | let the connection pool of new applications have size 1 rather than 5 | Xavier Noria | 2012-02-26 | 3 | -9/+27 | |
| | | | | | | | | | The majority of Rails applications are multiprocess, people may wonder why rails new generates a default pool of 5, does my application need a connection pool of 5? By generating a default of 1 database.yml is much more clear, and with the comment people know what is the connection pool for, and they know it has to be bigger for multithread apps. | |||||
* | consistently mention first patch, then put | Xavier Noria | 2012-02-24 | 2 | -5/+5 | |
| | | | | | | There was a mix, sometimes patch first, sometimes put first. Use always patch first, since this is going to be the primary verb for updates. | |||||
* | uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵ | Xavier Noria | 2012-02-24 | 2 | -5/+1 | |
| | | | | the update action of resources | |||||
* | removes the reconnect key from the database.yml generated for MySQL | Xavier Noria | 2012-02-24 | 1 | -12/+0 | |
| | | | | | | | | | | The reconnect flag does not play nicely with transactions and so it is of little use in Rails applications. Thus, albeit supported by mysql2, it does not deserve such a prominent place in the generated database.yml, which should be a representative config example. Note that the flag is false by default. Advanced users know from mysql2 docs that the flag is available. | |||||
* | explains why reconnect is false by default in the database.yml generated for ↵ | Xavier Noria | 2012-02-24 | 1 | -1/+10 | |
| | | | | MySQL | |||||
* | Use consistent whitespace for commented options. | Felix Bünemann | 2012-02-23 | 1 | -1/+1 | |
| | ||||||
* | Move config.autoflush_log to correct template. | Felix Bünemann | 2012-02-23 | 2 | -3/+3 | |
| | | | | | | This accidentally ended up in the development template instead of the production template, where it makes most sense. | |||||
* | Always default to flushing enabled | Felix Bünemann | 2012-02-23 | 2 | -2/+2 | |
| | ||||||
* | Advertise autoflush option in production template | Felix Bünemann | 2012-02-23 | 1 | -0/+3 | |
| | ||||||
* | Make log autoflushing configurable | Felix Bünemann | 2012-02-23 | 2 | -2/+3 | |
| | ||||||
* | Add config.default_method_for_update to support PATCH | David Lee | 2012-02-22 | 4 | -6/+10 | |
| | | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update. | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-02-18 | 1 | -2/+2 | |
|\ | ||||||
| * | update engines guide to explicitly reference relative-to-engine-root-path ↵ | Ryan Bigg | 2012-02-16 | 1 | -1/+1 | |
| | | | | | | | | for db/seeds.rb | |||||
| * | Rails::Engine docs should use helper method, not helpers | Ryan Bigg | 2012-02-16 | 1 | -1/+1 | |
| | | ||||||
* | | Refactor Rails::Console to make it easier to test and add tests for it | Piotr Sarnacki | 2012-02-16 | 1 | -25/+46 | |
| | | ||||||
* | | Allow to set custom console type with Rails.application.config.console= | Piotr Sarnacki | 2012-02-16 | 2 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds ability to set custom console if you want to use something other than IRB. Previously the hack that people used was: silence_warnings do require 'pry' IRB = Pry end which is not the best way to customize things. | |||||
* | | Remove console --irb deprecation notice | Piotr Sarnacki | 2012-02-16 | 1 | -1/+0 | |
| | | ||||||
* | | remove unnecessary require core_ext/string/encoding | Sergey Nartimov | 2012-02-14 | 1 | -1/+0 | |
|/ | ||||||
* | always flush all logs. fixes #4277 | Aaron Patterson | 2012-02-07 | 1 | -1/+1 | |
| | ||||||
* | Fix that failed tests should exit with a nonzero error code. | Jeremy Kemper | 2012-02-07 | 2 | -31/+17 | |
| | | | | | | Partially reverts 14c89e7285d4e7cd40a542fbc31d9345f60c3aa4. Hat tip to @tenderlove for paring down the TestTask! | |||||
* | Display annotations from .coffee files in `rake notes` | Bartlomiej Kozal | 2012-02-05 | 1 | -2/+2 | |
| | ||||||
* | Add convenience method to hide a generator from the available ones | Carlos Antonio da Silva | 2012-02-03 | 1 | -0/+6 | |
| | | | | | | It is usually useful to be able to hide a generator when running rails generate command. Such generators might be used only to dry up generators code and shouldn't be available to end users. | |||||
* | Use https://rubygems.org source for default Gemfile | Guillermo Iguaran | 2012-02-01 | 1 | -1/+1 | |
| | | | | See https://github.com/rails/rails/pull/4684#commitcomment-920313 | |||||
* | Merge pull request #4825 from sikachu/master-fix-plugin-new | José Valim | 2012-02-01 | 1 | -1/+1 | |
|\ | | | | | Fix broken test introduced from #4814 | |||||
| * | Fix broken test introduced from #4814 | Prem Sichanugrist | 2012-02-01 | 1 | -1/+1 | |
| | | | | | | | | | | | | * ruby_debugger_gemfile_entry was removed from the generator. Please make sure to run `grep` or `ack` to make sure it was removed in every places. | |||||
* | | Fix GH #4737. Missing helper file (LoadError) in mountable plugin. | kennyj | 2012-02-02 | 1 | -1/+3 | |
|/ | ||||||
* | Remove ruby_debugger_gemfile_entry from app_base, we can just put ↵ | Guillermo Iguaran | 2012-02-01 | 2 | -5/+1 | |
| | | | | ruby-debug19 commented directly in Gemfile | |||||
* | Don't run bundle install when passed with --pretend option | kennyj | 2012-02-01 | 1 | -1/+1 | |
| | ||||||
* | Only add ActiveRecord configuration if it is present | Rafael Mendonça França | 2012-01-31 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #4727 from railsaholic/dependent_restrict_should_add_error | Jon Leighton | 2012-01-31 | 1 | -0/+5 | |
|\ | | | | | has_many/has_one, :dependent => :restrict, deprecation added | |||||
| * | has_many/has_one, :dependent => :restrict, deprecation added. | Manoj | 2012-01-29 | 1 | -0/+5 | |
| | | ||||||
* | | Fix failing test from [7619bcf2] | Prem Sichanugrist | 2012-01-30 | 1 | -1/+1 | |
| | | ||||||
* | | rewrites a couple of alternations in regexps as character classes | Xavier Noria | 2012-01-30 | 1 | -1/+1 | |
| | | | | | | | | | | Character classes are the specific regexp construct to express alternation of individual characters. |