aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* validates_uniqueness_of uses database case sensitivity support instead of ↵Tarmo Tänav2008-07-313-27/+23
| | | | | | using ruby Signed-off-by: Michael Koziarski <michael@koziarski.com>
* In javascript helpers option[:type] = :synchronous should work as described ↵miloops2008-07-312-1/+7
| | | | | | in docs. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fixed negative default integer parsing for Postgresql 8.3.3Tarmo Tänav2008-07-311-2/+2
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Turn cache_classes on by default [#645 state:resolved]Joshua Peek2008-07-312-1/+3
|
* Cast value to string in validates_uniqueness_of if the column is of text typeTarmo Tänav2008-07-311-1/+7
| | | | | | This fixes an error for postgresql where "text_column = 100" fails in version 8.3 Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fixed test_joins_with_namespaced_model_should_use_correct_type for postgresqlTarmo Tänav2008-07-311-1/+1
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix HasManyThroughAssociationsTest tests. [#733 state:resolved]miloops2008-07-311-3/+6
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Raise UnknownAttributeError when unknown attributes are supplied via mass ↵Pratik Naik2008-07-312-1/+17
| | | | assignment
* Ensure dbconsole includes the -p parameter to mysql as intendedMichael Koziarski2008-07-311-0/+2
|
* Performance: grouping helpers should use yield instead of block as argument. ↵miloops2008-07-301-5/+5
| | | | [#723 state:resolved]
* Initializer requires ERB explicitly instead of assuming Action Pack loaded ↵José Valim2008-07-301-0/+1
| | | | it. [#722 state:resolved]
* Prototype helpers should generate Element.insert instead of Insertion.new, ↵miloops2008-07-303-22/+28
| | | | which has been deprecated in Prototype 1.6.
* Initializer skips prepare_dispatcher if Action Controller isn't in use. ↵José Valim2008-07-301-0/+1
| | | | [#721 state:resolved]
* Reapply 'cab168ac' because it was accidentally patched over in '10d9fe4b'Joshua Peek2008-07-291-1/+1
|
* Updated NumberHelper: Full i18n support (except number_to_phone), ↵Clemens Kofler2008-07-294-96/+219
| | | | | | consolidated API (almost all methods now support :precision, :delimiter and :separator). Added deprecation notices for old API. Added tests for new options [#716 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Remove incomplete non-blocking logger functionalityMichael Koziarski2008-07-292-14/+1
|
* Guard the logger's internal buffer to prevent major breakage on genuinely ↵Michael Koziarski2008-07-291-6/+14
| | | | threaded environments
* Fix that label_tag doesn't take a symbol for a name. [#719 state:resolved]Jan De Poorter2008-07-292-1/+7
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Once is enough, mmkJeremy Kemper2008-07-281-2/+2
|
* Don't rememoize if already frozenJeremy Kemper2008-07-281-4/+3
|
* Remove send! usage, relic of reverted 1.9 behaviorJeremy Kemper2008-07-281-1/+1
|
* MacRuby: BasicObject unavailableJeremy Kemper2008-07-281-1/+1
|
* Added back ActionController::Base.allow_concurrency flag and moved lock down ↵Joshua Peek2008-07-283-12/+23
| | | | to controller processing.
* Prepare Route#generate and Route#recognize early. Also refactor segments a ↵Joshua Peek2008-07-288-298/+259
| | | | bit to try to make immutable.
* Routing whitespace cleanupJoshua Peek2008-07-2810-89/+84
|
* Merge docrails changesPratik Naik2008-07-2852-179/+3179
|
* Refactored TextHelper#truncate, highlight, excerpt, word_wrap and auto_link ↵Clemens Kofler2008-07-273-68/+191
| | | | | | to accept options hash [#705 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* error_message_on takes an options hash instead of ordered parameters [#704 ↵Clemens Kofler2008-07-273-40/+58
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Revert "Ensure adapater specific code is loaded on ↵Joshua Peek2008-07-271-1/+0
| | | | | | ActiveRecord::Base.establish_connection" This reverts commit 8b858782fa693e89a47fc3dd5ae38d842ede6d04.
* Make observers define #after_find in the model only if needed.George Ogata2008-07-262-2/+33
| | | | | [#676 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com>
* ActionController::Base.relative_url_root falls back to ↵Joshua Peek2008-07-241-1/+6
| | | | ENV['RAILS_RELATIVE_URL_ROOT']
* Check for ActionMailer and ActionController before attempting to eager load ↵Sam Granieri2008-07-242-3/+22
| | | | | | their view paths Signed-off-by: Joshua Peek <josh@joshpeek.com>
* AbstractRequest.relative_url_root is no longer automatically configured by a ↵Joshua Peek2008-07-2411-219/+161
| | | | HTTP header. It can now be set in your configuration environment with config.action_controller.relative_url_root
* Added config.dependency_loading to enable or disable the dependency loader ↵Joshua Peek2008-07-243-22/+95
| | | | after initialization
* Fixed bc5896e, and added test case for the caching bug it originally introduced.Joshua Peek2008-07-234-6/+13
|
* Revert 'bc5896e'Joshua Peek2008-07-232-8/+4
|
* Load view path cache after plugins and gems.Joshua Peek2008-07-232-6/+25
|
* Just file?Joshua Peek2008-07-231-1/+1
|
* Ensure NamedScope#any? uses COUNT query wherever possible. [#680 state:resolved]Jan De Poorter2008-07-232-1/+31
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Extract ActiveSupport::TypedArray class to ensure an array is all of the ↵Joshua Peek2008-07-225-33/+91
| | | | same type [#673 state:resolved]
* Memoize ActionView::Base pick_template and find_partial_path for rendering ↵Joshua Peek2008-07-225-17/+26
| | | | duration
* Improved Memoizable test coverage and added support for multiple argumentsJoshua Peek2008-07-223-61/+165
|
* Ensure adapater specific code is loaded on ↵Joshua Peek2008-07-211-0/+1
| | | | ActiveRecord::Base.establish_connection
* Make script/plugin work with svn+ssh urls. [#662 state:resolved]Miles Georgi2008-07-221-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Use klass.sti_name to make sure associations take store_full_sti_class into ↵Daniel Guettler2008-07-223-2/+27
| | | | | | account. [#671 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Added configurable eager load paths. Defaults to app/models, ↵Joshua Peek2008-07-212-4/+23
| | | | app/controllers, and app/helpers
* Preload application classes. Uses same strategy as phusion passenger.Joshua Peek2008-07-211-0/+11
|
* Refactored NumberHelper API to accept arguments as an options hash [#666 ↵Clemens Kofler2008-07-212-33/+93
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Refactor DateHelper and improve test coverage [#665 state:resolved]Clemens Kofler2008-07-212-204/+238
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* If it doesn't overflow, it won't have a .start method. So don't run the ↵Michael Koziarski2008-07-201-1/+1
| | | | second assertion either