Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use String#exclude? to make sure that Active Support is not loaded when | Rafael Mendonça França | 2012-10-04 | 1 | -1/+1 | |
| | | | | | | | bare is true. We need to change this since coffee-rails loads ActionView that loads core_ext/array/access. | |||||
* | Move queue classes to ActiveSupport | Santiago Pastorino | 2012-09-14 | 1 | -3/+3 | |
| | ||||||
* | Allow users to configure the queue for the mailers | Rafael Mendonça França | 2012-09-12 | 1 | -0/+17 | |
| | | | | | | | | | | | | This allow the users to do: config.action_mailer.queue = MyQueue.new and class UsersMailer < ActionMailer::Base self.queue = MyQueue.new end | |||||
* | fixed support for DATABASE_URL for rake db tasks | Grace Liu | 2012-09-11 | 1 | -0/+32 | |
| | | | | | | | | | | | | - added tests to confirm establish_connection uses DATABASE_URL and Rails.env correctly even when no arguments are passed in. - updated rake db tasks to support DATABASE_URL, and added tests to confirm correct behavior for these rake tasks. (Removed establish_connection call from some tasks since in those cases the :environment task already made sure the function would be called) - updated Resolver so that when it resolves the database url, it removes hash values with empty strings from the config spec (e.g. to support connection to postgresql when no username is specified). | |||||
* | Fixes wrong test class names. | kennyj | 2012-08-29 | 2 | -2/+2 | |
| | ||||||
* | Extract ActiveRecord::SessionStore from Rails | Prem Sichanugrist | 2012-08-24 | 1 | -20/+0 | |
| | | | | | This functionality will be available from gem `active_record-session_store` instead. | |||||
* | before_eager_load only runs when eager_load is true | Rafael Mendonça França | 2012-08-22 | 1 | -4/+4 | |
| | ||||||
* | Remove default match without specified method | Jose and Yehuda | 2012-04-24 | 2 | -3/+3 | |
| | | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964 | |||||
* | Remove --http. | José Valim | 2012-03-14 | 1 | -27/+0 | |
| | ||||||
* | Add ActionController::HTTP | Santiago Pastorino | 2012-03-14 | 1 | -0/+27 | |
| | | | | | | More info http://edgeguides.rubyonrails.org/api_app.html [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | Fix broken tests | Santiago Pastorino | 2012-03-10 | 1 | -1/+2 | |
| | ||||||
* | Use one system call whenever possible, group rake and Dir.chdir calls | Carlos Antonio da Silva | 2012-03-08 | 1 | -9/+4 | |
| | ||||||
* | Support judgement expired schema cache dump. | kennyj | 2012-03-01 | 1 | -0/+14 | |
| | ||||||
* | Load db/schema_cache.dump duaring boot time. | kennyj | 2012-03-01 | 1 | -0/+12 | |
| | ||||||
* | convert railties to use AS::TestCase | Aaron Patterson | 2012-01-05 | 6 | -6/+6 | |
| | ||||||
* | remove checks for encodings availability | Sergey Nartimov | 2011-12-25 | 1 | -1/+1 | |
| | ||||||
* | This test is rubbish. | José Valim | 2011-12-20 | 1 | -39/+0 | |
| | ||||||
* | Wait a full second so we have time for changes to propagate | José Valim | 2011-12-16 | 1 | -0/+3 | |
| | ||||||
* | Fix testcase an error on ruby 1.8.x. | kennyj | 2011-12-09 | 1 | -2/+3 | |
| | | | | | | In Ruby 1.8.x, config.encoding sets $KCODE. Therefore, the possible values are UTF8, SJIS, or EUC. And, if we set SJIS, we'll has the error. Because some rails sources are written in utf-8 encoding. | |||||
* | Assign config.encoding to AD::Response.default_charset at the initialization ↵ | kennyj | 2011-12-07 | 1 | -0/+6 | |
| | | | | time. | |||||
* | Make i18n tests more robust. | José Valim | 2011-06-12 | 1 | -3/+3 | |
| | ||||||
* | Solve the RAILS_ENV problem in the railties tests in a more generic way | Jon Leighton | 2011-06-06 | 7 | -7/+23 | |
| | ||||||
* | framework_test.rb also dependent on RAILS_ENV=development | Arun Agrawal | 2011-06-06 | 1 | -0/+6 | |
| | ||||||
* | load_path_test.rb is also dependent on RAILS_ENV=development | Jon Leighton | 2011-06-05 | 1 | -0/+6 | |
| | ||||||
* | Parenthesize arguments when the first one is a Regexp literal. | Sebastian Martinez | 2011-05-23 | 1 | -1/+1 | |
| | | | | This fixes 'warning: ambiguous first argument; put parentheses or even spaces'. | |||||
* | Fix tests to reflect IdentityMap no longer default | David Lee | 2011-05-10 | 1 | -1/+1 | |
| | | | | Broke in 0e1dcae1857db4f6721561caff38d8be748d0b40 | |||||
* | Merge remote branch 'rails/master' into identity_map | Emilio Tagua | 2011-02-15 | 1 | -0/+30 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/examples/performance.rb activerecord/lib/active_record/association_preload.rb activerecord/lib/active_record/associations.rb activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/nested_attributes.rb activerecord/test/cases/relations_test.rb | |||||
| * | Additionally trigger i18n configuration setup before any eager loading ↵ | Saimon Moore | 2011-02-01 | 1 | -0/+30 | |
| | | | | | | | | | | | | | | | | | | [#6353 state:resolved] This handles the case where config.cache_classes is true and classes are loaded before the I18n load path has had a chance to be populated. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | Fix typo. | Emilio Tagua | 2010-11-19 | 1 | -1/+1 | |
| | | ||||||
* | | Use IdentityMap middleware to flush map on each request. | Emilio Tagua | 2010-11-19 | 1 | -1/+1 | |
|/ | ||||||
* | Add config.action_controller.include_all_helpers, by default it is set to true. | Piotr Sarnacki | 2010-11-18 | 1 | -0/+60 | |
| | | | | | | | In older rails versions there was a way to use only helpers from helper file corresponding to current controller and you could also include all helpers by saying 'helper :all' in controller. This config allows to return to older behavior by setting it to false. | |||||
* | Merge remote branch 'drogus/engines' | wycats | 2010-09-11 | 1 | -1/+1 | |
|\ | ||||||
| * | Change app to main_app in mounted_helpers | Piotr Sarnacki | 2010-09-08 | 1 | -1/+1 | |
| | | ||||||
* | | Add configuration option for tld length | Simon Jefford | 2010-09-09 | 1 | -0/+7 | |
|/ | ||||||
* | Removed deprecated router API from railties | Piotr Sarnacki | 2010-09-05 | 1 | -2/+2 | |
| | ||||||
* | mounted helpers should be included in ActionMailer | Piotr Sarnacki | 2010-09-03 | 1 | -0/+1 | |
| | ||||||
* | Revert "Just add connection management middleware if running in a concurrent ↵ | Jeremy Kemper | 2010-08-20 | 1 | -11/+1 | |
| | | | | | | environment." This reverts commit 6b29dc876fe185881d46731c3ae170478a3828fe. | |||||
* | Fix a failing test in Railtie and properly define all severity levels in ↵ | José Valim | 2010-07-20 | 1 | -14/+5 | |
| | | | | MockLogger for LogSubscriber. | |||||
* | Just add connection management middleware if running in a concurrent ↵ | José Valim | 2010-07-12 | 1 | -1/+11 | |
| | | | | environment. | |||||
* | Add a test to ensure url helpers are not action methods in ActionMailer. | José Valim | 2010-07-07 | 1 | -0/+19 | |
| | ||||||
* | Avoid calls to Rails::Application since this is not the official API. | José Valim | 2010-07-01 | 2 | -2/+2 | |
| | | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally. | |||||
* | adding missing assertion and fixing the test | Neeraj Singh | 2010-06-24 | 1 | -2/+4 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | fixing test by replacing assert with assert_equal | Neeraj Singh | 2010-06-24 | 1 | -1/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Array#sample now exists, so test for #forty_two instead | Jeremy Kemper | 2010-06-24 | 1 | -1/+1 | |
| | ||||||
* | Revert "files in the lib directory are no longer autoloaded" | Xavier Noria | 2010-06-21 | 1 | -3/+1 | |
| | | | | | | | This patch is not consistent since it leaves similar directories in load_paths, needs more thought. This reverts commit b5fe014fdcc285f3bcb8779c4f7cfbc5a820856f. | |||||
* | files in the lib directory are no longer autoloaded | Xavier Noria | 2010-06-21 | 1 | -1/+3 | |
| | | | | | | | | | | | Conceptually, the lib directory is closer 3rd party libraries than to the application itself. Thus, Rails adds it to Ruby's load path ($LOAD_PATH, $:) but it is no longer included in dependencies' load paths. To enable autoloading back put this in your config/application.rb config.load_paths += %W( #{config.root}/lib ) | |||||
* | I18n.reload! is only called if any of the locale files actually changed. | José Valim | 2010-06-20 | 1 | -19/+114 | |
| | ||||||
* | Clear DescendantsTracker on each request. | José Valim | 2010-06-19 | 1 | -1/+1 | |
| | ||||||
* | edit pass: the names of Rails components have a space, ie, "Active Record", ↵ | Xavier Noria | 2010-06-14 | 1 | -1/+1 | |
| | | | | not "ActiveRecord" | |||||
* | abort generation/booting on Ruby 1.9.1 | Xavier Noria | 2010-06-10 | 1 | -1/+3 | |
| |