Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove reference to rails_legacy_mapper, which isn't compatible with 3.2 #5022 | johndouthat | 2012-02-18 | 1 | -2/+1 |
| | |||||
* | Merge pull request #3479 from arvida/ensure-date-header-on-expires-in | José Valim | 2012-02-18 | 3 | -0/+24 |
|\ | | | | | Ensure Date header on expires_in | ||||
| * | Ensuring a HTTP Date header when setting Cache-Control's max-age with ↵ | arvida | 2011-10-31 | 1 | -0/+3 |
| | | | | | | | | #expires_in | ||||
| * | Added accessor methods for Date header | arvida | 2011-10-31 | 1 | -0/+14 |
| | | |||||
| * | Added test for setting of HTTP Date header when calling #expires_in | arvida | 2011-10-31 | 1 | -0/+7 |
| | | |||||
* | | Merge pull request #5076 from petmit/migrate_status_without_timestamps | Aaron Patterson | 2012-02-17 | 2 | -3/+52 |
|\ \ | | | | | | | Correctly print names of non-timestamped migrations with db:migrate:status | ||||
| * | | Correctly print names of non-timestamped migrations with db:migrate:status | Peter Mitchell | 2012-02-17 | 2 | -3/+52 |
|/ / | |||||
* | | Simplify regexp | Andrew White | 2012-02-17 | 1 | -1/+1 |
| | | |||||
* | | Fix ActionDispatch::Static to serve files with unencoded PCHAR | Andrew White | 2012-02-17 | 14 | -4/+48 |
| | | | | | | | | | | | | | | | | | | | | | | RFC 3986[1] allows sub-delim characters in path segments unencoded, however Rack::File requires them to be encoded so we use URI's unescape method to leave them alone and then escape them again. Also since the path gets passed to Dir[] we need to escape any glob characters in the path. [1]: http://www.ietf.org/rfc/rfc3986.txt | ||||
* | | let expires_in accept a must_revalidate flag | Xavier Noria | 2012-02-17 | 3 | -2/+29 |
| | | |||||
* | | Merge pull request #5066 from lest/patch-1 | José Valim | 2012-02-17 | 3 | -1/+6 |
|\ \ | | | | | | | escape static file path to prevent double unescaping | ||||
| * | | escape static file path to prevent double unescaping | Sergey Nartimov | 2012-02-16 | 3 | -1/+6 |
| | | | |||||
* | | | use Process.pid rather than $$ | Aaron Patterson | 2012-02-16 | 3 | -7/+7 |
| | | | |||||
* | | | database connections are automatically established after forking. | Aaron Patterson | 2012-02-16 | 3 | -14/+73 |
| | | | | | | | | | | | | Connection pools are 1:1 with pids. | ||||
* | | | Fix tests, Rails.env may be different on CI | Piotr Sarnacki | 2012-02-16 | 1 | -2/+5 |
| | | | |||||
* | | | Refactor Rails::Console to make it easier to test and add tests for it | Piotr Sarnacki | 2012-02-16 | 2 | -25/+130 |
| | | | |||||
* | | | Allow to set custom console type with Rails.application.config.console= | Piotr Sarnacki | 2012-02-16 | 4 | -3/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 |
|/ / | |||||
* | | Merge pull request #5064 from lest/patch-1 | Jeremy Kemper | 2012-02-16 | 3 | -6/+19 |
|\ \ | | | | | | | move id_before_type_cast to PrimaryKey module | ||||
| * | | move id_before_type_cast to PrimaryKey module | Sergey Nartimov | 2012-02-16 | 3 | -6/+19 |
| | | | |||||
* | | | Merge pull request #5059 from waseem/autoload_effectively | Xavier Noria | 2012-02-16 | 1 | -9/+12 |
|\ \ \ | | | | | | | | | Autoload various constants effectively in abstract connection adapter. | ||||
| * | | | Autoload various constants effectively in abstract connection adapter. | Waseem Ahmad | 2012-02-16 | 1 | -9/+12 |
| |/ / | |||||
* | | | Merge pull request #5062 from bogdan/test2 | José Valim | 2012-02-16 | 1 | -2/+9 |
|\ \ \ | |/ / |/| | | ActionDispatch: add missing test for callbacks | ||||
| * | | ActionDispatch: add missing test for callbacks | Bogdan Gusiev | 2012-02-16 | 1 | -2/+9 |
|/ / | |||||
* | | Merge pull request #5055 from rafaelfranca/fix-drop-table | Jeremy Kemper | 2012-02-15 | 1 | -2/+2 |
|\ \ | | | | | | | Revert "No need to pass options which is never used" | ||||
| * | | Revert "No need to pass options which is never used" | Rafael Mendonça França | 2012-02-15 | 1 | -2/+2 |
|/ / | | | | | | | | | | | | | | | | | Options is needed for some Rails extensions to determine when referential integrity should be disabled This reverts commit bcb466c543451dce69403aaae047295758589d8e. Fixes #5052 | ||||
* | | fixing AP tests | Aaron Patterson | 2012-02-15 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #5049 from fabioyamate/master | José Valim | 2012-02-15 | 2 | -3/+10 |
|\ \ | | | | | | | Fix sanitize_for_mass_assigment when role is nil | ||||
| * | | Fix sanitize_for_mass_assigment when role is nil | Fabio Yamate | 2012-02-15 | 2 | -3/+10 |
|/ / | | | | | | | | | | | | | There is an example in Rails documentation that suggests implementing assign_attributes method for ActiveModel interface, that by default sends option role with nil. Since mass_assignment_authorizer never is called without args, we can move the default value internally. | ||||
* | | Merge pull request #5045 from avakhov/am-format-paragraph-fix | José Valim | 2012-02-15 | 2 | -1/+14 |
|\ \ | | | | | | | Fix AM format_paragraph helper method if a first word is long | ||||
| * | | Fix AM format_paragraph helper method if a first word is long | Alexey Vakhov | 2012-02-15 | 2 | -1/+14 |
|/ / | |||||
* | | Merge pull request #5046 from avakhov/am-block-format-fit | José Valim | 2012-02-14 | 2 | -2/+33 |
|\ \ | | | | | | | Cosmetic fixes in block_format AM helper method + test | ||||
| * | | Cosmetic fixes in block_format AM helper method + test | Alexey Vakhov | 2012-02-15 | 2 | -2/+33 |
|/ / | |||||
* | | adding tests to document behavior for #4817 | Aaron Patterson | 2012-02-14 | 1 | -0/+26 |
| | | |||||
* | | Rack body respond to each and not to join | Santiago Pastorino | 2012-02-14 | 2 | -2/+16 |
| | | | | | | | | | | | | | | This fixes undef `to_str' for Rack::Chunked::Body when using caches_action + streaming on an action Closes #5027 | ||||
* | | CSS fix for guides. Closing #5028 [ci skip] | Vijay Dev | 2012-02-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | In Ubuntu Chrome, in the last lines of code blocks, the underscore isn't visible. Increasing the line height slightly seems to fix this. This problem doesn't exist in Firefox even on Ubuntu. Too lazy to test in any other OS-browser combo :) | ||||
* | | Merge pull request #5042 from parndt/patch-2 | Vijay Dev | 2012-02-14 | 1 | -1/+1 |
|\ \ | | | | | | | "Or" was not meaningful anymore, per dad7fdc5734a3813246f238ac5760b2076932216 | ||||
| * | | "Or" was not meaningful anymore, per dad7fdc5734a3813246f238ac5760b2076932216 | Philip Arndt | 2012-02-15 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #3544 from amatsuda/_field_changed | Aaron Patterson | 2012-02-14 | 3 | -4/+18 |
|\ \ | | | | | | | Rename field_changed? to _field_changed? so that users can create a field named field | ||||
| * | | A test case for GH #3544 to ensure that a field named field works fine | Akira Matsuda | 2012-02-14 | 1 | -0/+14 |
| | | | |||||
| * | | Rename field_changed? to _field_changed? so that users can create a field ↵ | Akira Matsuda | 2012-02-14 | 2 | -4/+4 |
| | | | | | | | | | | | | named field | ||||
* | | | Merge pull request #5038 from carlosantoniodasilva/fix-db-migrate-redo | José Valim | 2012-02-14 | 1 | -1/+4 |
|\ \ \ | | | | | | | | | Always reenable _dump task in AR databases rake. Closes #5030 | ||||
| * | | | Always reenable _dump task in AR databases rake. Closes #5030 | Carlos Antonio da Silva | 2012-02-14 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows the internal :_dump task to be called as many times as required. For instance, `rake db:migrate:redo` calls two tasks that internally call :_dump, and without reenabling it to be reinvoked, the database was left in incorrect state. | ||||
* | | | | Merge pull request #5039 from funny-falcon/fix_callback | José Valim | 2012-02-14 | 1 | -1/+1 |
|\ \ \ \ | |/ / / |/| | | | sync __run_callbacks with ruby-trunk | ||||
| * | | | sync __run_callbacks with ruby-trunk | Sokolov Yura | 2012-02-14 | 1 | -1/+1 |
|/ / / | | | | | | | | | | | | | | | | https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/34580 In this revision behavior of respond_to? had changed: now to ask about protected method one should pass second argument `true` | ||||
* | | | Merge pull request #5036 from carlosantoniodasilva/form-button | José Valim | 2012-02-14 | 1 | -8/+1 |
|\ \ \ | | | | | | | | | Remove not used button translation from av locale | ||||
| * | | | Remove not used button translation from av locale | Carlos Antonio da Silva | 2012-02-14 | 1 | -8/+1 |
|/ / / | |||||
* | | | Merge pull request #5032 from carlosantoniodasilva/collection-helpers-object | José Valim | 2012-02-14 | 4 | -9/+36 |
|\ \ \ | | | | | | | | | Allow collection helpers with block to access current object in the collection | ||||
| * | | | Allow collection helpers with block to access current object in the collection | Carlos Antonio da Silva | 2012-02-13 | 4 | -9/+36 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gives a lot more flexibility to the user, for instance to generate a collection of check boxes and labels, allowing to add custom classes or data-* attributes to the label/check_box using another object attribute. This basically mimics options_for_select functionality that accepts a third option for each item to generate html attributes for each option. | ||||
* | | | | Merge pull request #5035 from lest/patch-1 | José Valim | 2012-02-13 | 8 | -9/+0 |
|\ \ \ \ | |_|/ / |/| | | | remove unnecessary require core_ext/string/encoding |