Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make many parts of Rails lazy. In order to facilitate this, | wycats | 2010-03-07 | 1 | -1/+0 |
| | | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook | ||||
* | Remove deprecated behavior since 2.3. | José Valim and Mikel Lindsaar | 2010-01-24 | 1 | -13/+0 |
| | |||||
* | Fix the i18n dependency problem | David Heinemeier Hansson | 2009-12-27 | 1 | -0/+1 |
| | |||||
* | Consolidate Object#to_param and #to_query core extensions | Jeremy Kemper | 2009-11-02 | 1 | -16/+0 |
| | |||||
* | Restore split between require-time and runtime load path mungery. Simplifies ↵ | Jeremy Kemper | 2009-09-24 | 1 | -1/+1 |
| | | | | vendor requires. | ||||
* | Rollback AS bundler work and improve activation of vendored dependencies | Joshua Peek | 2009-09-13 | 1 | -1/+1 |
| | |||||
* | Fix that Hash#to_xml and Array#to_xml shouldn't modify their options hashes ↵ | David Burger | 2009-08-09 | 1 | -0/+1 |
| | | | | | | [#672 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Merge docrails | Pratik Naik | 2009-07-25 | 1 | -1/+1 |
| | |||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 1 | -1/+5 |
| | |||||
* | Convert array extension modules to class reopens | Jeremy Kemper | 2009-03-21 | 1 | -179/+167 |
| | |||||
* | Force all internal calls to Array#to_sentence to use English [#2010 ↵ | David Heinemeier Hansson | 2009-02-27 | 1 | -3/+2 |
| | | | | state:resolved] | ||||
* | Deprecated warnings for :skip_last_command and :connector of to_sentence ↵ | Guillermo Álvarez | 2009-02-22 | 1 | -5/+19 |
| | | | | | | [#1847 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Change Array#to_sentence I18n options to pass comma and space character from ↵ | Akira Matsuda | 2008-12-08 | 1 | -9/+10 |
| | | | | | | | | outside. [#1397 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Lazy-require builder lib | Jeremy Kemper | 2008-11-23 | 1 | -2/+1 |
| | |||||
* | Fixed the option merging in Array#to_xml [#1126 state:resolved] | David Heinemeier Hansson | 2008-10-31 | 1 | -1/+1 |
| | |||||
* | Made i18n simple backend able to store false values (and not confuse them ↵ | Tarmo Tänav | 2008-10-09 | 1 | -1/+2 |
| | | | | | | | | | with nil or lack of value) Implemented support.array.skip_last_comma i18n key for Array#to_sentence, this also tests the ability to store false. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | merge forward to current rails/master | Sven Fuchs | 2008-07-16 | 1 | -2/+3 |
|\ | |||||
| * | Performance: minor Array#to_param and #to_query speedups | Jeremy Kemper | 2008-06-24 | 1 | -2/+3 |
| | | |||||
* | | align with changes in i18n | Sven Fuchs | 2008-07-06 | 1 | -4/+1 |
| | | |||||
* | | remove core extensions in favor of I18n#translate and I18n#localize | Sven Fuchs | 2008-07-02 | 1 | -1/+1 |
| | | |||||
* | | crap, an array never has a request, stupid. | Sven Fuchs | 2008-06-22 | 1 | -1/+1 |
| | | |||||
* | | integrating I18n into Rails | Sven Fuchs | 2008-06-19 | 1 | -4/+10 |
|/ | |||||
* | Improve documentation coverage and markup | Xavier Noria | 2008-05-02 | 1 | -8/+43 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Improve documentation. | Pratik Naik | 2008-04-05 | 1 | -6/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Improve documentation. | Pratik Naik | 2008-03-26 | 1 | -3/+56 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added that Array#to_param calls to_param on all it's elements (closes ↵ | David Heinemeier Hansson | 2007-12-14 | 1 | -2/+2 |
| | | | | | | #10473) [brandon] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8384 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Move #to_query methods where they ought to belong. Closes #10395 [Chu Yeow] | Jeremy Kemper | 2007-12-09 | 1 | -0/+9 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8343 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | to_sentence returns self[0].to_s instead of just self[0] for arrays of ↵ | Jeremy Kemper | 2007-12-09 | 1 | -1/+1 |
| | | | | | | length 1. Closes #10390 [Chu Yeow, mrj] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8340 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix typos (closes #10378) | David Heinemeier Hansson | 2007-12-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix potential extra space in Array#to_sentence. Closes #10327 [kamal] | Michael Koziarski | 2007-12-02 | 1 | -6/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8251 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Standardize on using hyphens rather than colons to separate option names ↵ | Marcel Molina | 2007-11-06 | 1 | -2/+2 |
| | | | | | | from their explanation in documentation. Replace + with tt tags. Closes #8732. [ryanb] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | String#to_xs uses the fast_xs extension if available for Builder speedup. | Jeremy Kemper | 2007-10-07 | 1 | -0/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Some 1.9 forward compatibility | Jeremy Kemper | 2007-09-14 | 1 | -5/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added proper handling of arrays. Closes #8537 [hasmanyjosh] | Rick Olson | 2007-06-21 | 1 | -4/+9 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | revert [6924] | Rick Olson | 2007-06-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6946 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added proper handling of arrays (closes #8537) [hasmanyjosh] | David Heinemeier Hansson | 2007-06-01 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6924 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Array#to_xml yields the builder just like Hash and ActiveRecord::Base. ↵ | Jeremy Kemper | 2007-05-26 | 1 | -1/+4 |
| | | | | | | Closes #8472. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6858 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed Array#to_xml when it contains a series of hashes (each piece would get ↵ | David Heinemeier Hansson | 2006-12-03 | 1 | -2/+2 |
| | | | | | | its own XML declaration) (closes #6610) [thkarcher/cyu] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Correct and clarify Array#to_sentence docs. Closes #5458. | Jeremy Kemper | 2006-06-22 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4485 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | to_xml fixes, features, and speedup. Closes #4989. | Jeremy Kemper | 2006-06-03 | 1 | -2/+10 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4413 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed that Base.find :all, :conditions => [ "id IN (?)", collection ] would ↵ | David Heinemeier Hansson | 2006-06-01 | 1 | -1/+1 |
| | | | | | | fail if collection was empty [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4390 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Oracle and others wont take a string null for an answer | David Heinemeier Hansson | 2006-06-01 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4389 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added Array#to_s(:db) that'll produce a comma-separated list of ids [DHH] ↵ | David Heinemeier Hansson | 2006-05-31 | 1 | -0/+18 |
| | | | | | | Split Grouping into its own file git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4387 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | dasherize the root element when doing to_xml | Jamis Buck | 2006-03-16 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3901 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | tag! is nicer than __send__ | David Heinemeier Hansson | 2006-03-10 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Implemented nested to_xml and named elements for array xmling [DHH] | David Heinemeier Hansson | 2006-03-09 | 1 | -5/+8 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3830 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed to_xml across the board to use nice indention, better skip_attributes ↵ | David Heinemeier Hansson | 2006-03-09 | 1 | -3/+8 |
| | | | | | | workings, no type on strings, and cleaned tests [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3829 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | reverted #to_sentence to use red, green, and blue style | Tobias Lütke | 2006-03-08 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3816 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added Hash#to_xml and Array#to_xml that makes it much easier to produce XML ↵ | David Heinemeier Hansson | 2006-03-08 | 1 | -1/+6 |
| | | | | | | from basic structures [DHH] Moved Jim Weirich's wonderful Builder from Action Pack to Active Support (it's simply too useful to be stuck in AP) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | changed default of Array#to_sentence to use one, two and three notation ( ↵ | Tobias Lütke | 2006-03-06 | 1 | -2/+2 |
| | | | | | | skip_last_comma => true ) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3802 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |