aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't require generator_test_helper in RailsGeneratorTest.Joshua Peek2008-04-211-3/+12
|
* Add .empty files to empty directories so git preserves them.Joshua Peek2008-04-216-0/+0
|
* Rescue from Timeout::Error in ActiveResource::Connection.Cheah Chu Yeow2008-04-223-1/+32
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Introduce ActiveResource::Base.timeout. This allows a timeout to be set on ↵Cheah Chu Yeow2008-04-224-4/+117
| | | | | | the internal Net::HTTP instance ARes uses (default is 60 seconds). Setting a low timeout allows ARes clients to fail-fast in the event of a unresponsive/crashed server, rather than cause cascading failures in your application. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* * Remove default_url_options from mailer generatorCody Fauser2008-04-213-17/+30
| | | | | | * Improve mailer documentation regarding generating URLs * Add no_match to mailer generator to warn contributors about default_url_options Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Add back empty plugin folders that were lost when we moved to git.Joshua Peek2008-04-214-32/+32
|
* Revert "Update plugin loading tests to reflect changes in plugin fixtures."Joshua Peek2008-04-213-79/+86
| | | | This reverts commit eef9002968609a0d8d4a8006aebcd6f18f993f4a.
* Update plugin loading tests to reflect changes in plugin fixtures.Joshua Peek2008-04-213-86/+79
|
* Gem dependencies don't require a version. Also fixed up failing gem ↵Joshua Peek2008-04-212-3/+5
| | | | dependency tests.
* Mock RailsFCGIHandler and Dispatcher to stop mocha deprecation warnings.Joshua Peek2008-04-211-6/+24
|
* Alias Object#instance_variable_names to Object#instance_variables for Ruby 1.8.xPratik Naik2008-04-211-2/+6
|
* Delegate ivars to controller instead of copyingPratik Naik2008-04-214-10/+23
| | | | | Reduce number of instance variables being copied from controller to view. Instead, delegate them to controller instance.
* select_datetime and select_time default to Time.zone.now when ↵gbuesing2008-04-213-2/+22
| | | | config.time_zone is set
* datetime_select defaults to Time.zone.now when config.time_zone is setgbuesing2008-04-213-1/+39
|
* Use the rails user when creating and dropping the database rather than ↵Steven Soroka2008-04-211-6/+6
| | | | | | falling back to the currently logged in user who may or may not have CREATE / DROP privileges and no password. Closes #11564 (trac)
* Merge branch 'master' of git@github.com:rails/railsgbuesing2008-04-209-71/+40
|\
| * Ruby 1.8.7 compat: detect and alias non-superclass DateTime#to_sJeremy Kemper2008-04-201-4/+9
| |
| * Ruby 1.8.7 compat: override unordered Enumerable#group_byJeremy Kemper2008-04-201-1/+4
| |
| * Ruby 1.8.7 compat: String#start_with? and #end_with?Jeremy Kemper2008-04-203-14/+19
| |
| * Remove ActionController::Base#view_controller_internalsPratik Naik2008-04-214-45/+8
| | | | | | | | | | | | Get rid of ActionController::Base#view_controller_internals flag and use @@protected_view_variables for storing the list of controller specific instance variables which should be inaccessible inside views.
| * Remove ActionController::Base#add_class_variables_to_assignsPratik Naik2008-04-211-7/+0
| |
* | Duration #since and #ago with no argument (e.g., 5.days.ago) return ↵gbuesing2008-04-205-3/+76
|/ | | | TimeWithZone when config.time_zone is set. Introducing Time.current, which returns Time.zone.now if config.time_zone is set, otherwise just returns Time.now
* Merge commit 'rails/master'Jeremy Kemper2008-04-202-2/+2
|\
| * Avoid adding two DISTINCT statements to queries in sqlite 2.Frederick Cheung2008-04-211-1/+1
| |
| * Fix sqlite adapter to work with the quoted table names returned by later ↵Frederick Cheung2008-04-211-1/+1
| | | | | | | | versions of sqlite3.
* | Use append_features instead of included to get the inclusion order rightJeremy Kemper2008-04-201-1/+2
|/
* Merge commit 'rails/master'Jeremy Kemper2008-04-2072-762/+830
|\
| * Use define_callbacks helper for ActiveRecord validations.Joshua Peek2008-04-204-57/+25
| |
| * Add conditional options to caches_page method [#25 state:resolved]Paul Horsfall2008-04-193-3/+20
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Remove unused ignore_missing_templates optionPratik Naik2008-04-192-5/+1
| |
| * Introduce ActionView::TestCase for testing view helpers.Joshua Peek2008-04-1921-131/+190
| |
| * Move missing template logic to ActionViewPratik Naik2008-04-1913-31/+25
| |
| * Introduce ActionView::InlineTemplate classPratik Naik2008-04-197-18/+37
| |
| * Add example for default_url_options[:host] to generated mailers.Mislav Marohnić2008-04-182-2/+9
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Merge branch 'master' of git@github.com:josh/railsJoshua Peek2008-04-181-6/+5
| |\
| | * Slight optimization to CallbackChain#union and delete.Joshua Peek2008-04-181-6/+5
| | |
| * | Changed mailer generator to not use instance variables.Mislav Marohnić2008-04-182-12/+12
| | | | | | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * | Cleanup generator tests by extracting repeated code into ↵Mislav Marohnić2008-04-186-364/+227
| |/ | | | | | | | | | | generator_test_helper. Add test for mailer generator. Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Refactor Dispatcher callbacks to remove unnecessary Dependencies checks in ↵Pratik Naik2008-04-185-89/+73
| | | | | | | | production environment.
| * Tidy up ActiveSupport::Callbacks::CallbackChain instance API.Joshua Peek2008-04-176-16/+54
| |
| * Fix migrations when migrating to a specified version number with a fresh ↵Ian White2008-04-172-3/+12
| | | | | | | | | | | | database [#1 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Support options passed to ActiveSupport::Cache :mem_cache_store [#14 ↵jweiss2008-04-172-1/+15
| | | | | | | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Ignore debug logs and ensure ActiveResource's log is cleaned up.Joshua Peek2008-04-162-1/+1
| |
| * Stub out Dispatcher#log_failsafe_exception method to please the test gods.Joshua Peek2008-04-151-3/+6
| |
| * Merge branch 'master' of git://github.com/stephencelis/railsJoshua Peek2008-04-144-11/+13
| |\
| | * Scripts and styles with multiple dots in the filename should cacheStephen Celis2008-04-124-11/+13
| | |
| * | Added Rails.public_path to control where HTML and assets are expected to be ↵David Heinemeier Hansson2008-04-137-9/+35
| | | | | | | | | | | | loaded from (defaults to Rails.root + "/public") #11581 [nicksieger]
| * | Merge branch 'master' of git://github.com/rails/railsDavid Heinemeier Hansson2008-04-139-18/+107
| |\ \
| | * | Time#since behaves correctly when passed a Duration. Closes #11527 [kemiller]gbuesing2008-04-123-7/+63
| | |/
| | * Add #getutc alias for DateTime#utcgbuesing2008-04-123-0/+4
| | |