- 17 6月, 2011 13 次提交
-
-
由 Xavier Noria 提交于
-
由 Aaron Patterson 提交于
Allow the connection pool's #table_exists? method to give the connections
-
由 Santiago Pastorino 提交于
Fix several warnings: change version of nokogiri gem
-
由 Alexey Gaziev 提交于
-
由 José Valim 提交于
Patch for [3.1.0.rc1] App plugins initialized before engines and plugins inside engines
-
由 Joseph Wong 提交于
and plugins inside engines It seems that plugins inside a Rails 3.1 application proper (i.e. in /vendor/plugins) are initialized before engines and plugins inside engines. After some debugging, I found the culprit in Rails::Application::Railties#all: def all(&block) @all ||= railties + engines + super @all.each(&block) if block @all end The call to super here implicitly passes the &block argument, which has the unfortunate side-effect of adding the plugin initializers first (in front of other railties and engines) in the case of Rails::Engine#initializers: def initializers initializers = [] railties.all { |r| initializers += r.initializers } initializers += super initializers end The solution here is to replace the super call with a call to #plugins.
-
由 Jon Leighton 提交于
Perf fix - Use an instance variable instead of a class_attribute. Thanks @josevalim and @jhawthorn for the prompting.
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 wycats 提交于
Make the API for compression consistent between JS and CSS. By default, users just need to say whether they want compression or not, and a default will be chosen by a Railtie. In the case of CSS, this default is already chosen by the sass-rails gem. Users can still explicitly choose a compressor in their application.rb if they have a preference, but will usually want to let plugins choose defaults in their Railties.
-
由 José Valim 提交于
Cherry-picking patch for https://github.com/rails/rails/issues/1460 from 3-1-stable to master
-
https://github.com/rails/rails/issues/1460由 Joseph Wong 提交于
from 3-1-stable to master [3.1.0.rc1] Plugins inside engines not eager-loaded properly and their rake tasks ignored Working with the new support for plugins inside engines in Rails 3.1, I found that certain things that work for regular plugins don't work for these new nested plugins. In particular, these methods in Rails::Engine don't seem to understand that an engine could have nested plugins: #load_tasks #load_generators #load_console #eager_load! A solution which worked out for me is to move the calls to railties.all { ... } from the overriding methods in Rails::Application into Rails::Engine.
-
由 Xavier Noria 提交于
Replace dev.rubyonrails.com plugin url with a dummy url
-
- 16 6月, 2011 12 次提交
-
-
由 Vijay Dev 提交于
-
由 Santiago Pastorino 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
Improve the legacy wild controller route in app templates
-
由 José Valim 提交于
Bump mysql2 to 0.3.5
-
由 Wen-Tien Chang 提交于
-
由 Wen-Tien Chang 提交于
-
由 Arun Agrawal 提交于
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-
- 15 6月, 2011 10 次提交
-
-
由 José Valim 提交于
Use assert_equal instead of assert in uploaded file test.
-
由 Lukáš Konarovský 提交于
-
由 José Valim 提交于
Allow last argument to be a boolean in memoized methods
-
由 Damien Mathieu 提交于
Signed-off-by: NAndrew White <andyw@pixeltrix.co.uk>
-
由 Damien Mathieu 提交于
If in the memoized method, the last argument is a boolean, it's considered as the reload method. Don't consider it like that if that's a normal method argument.
-
由 Brian Underwood 提交于
Signed-off-by: NDamien Mathieu <42@dmathieu.com>
-
由 Andrew White 提交于
-
由 Joshua Peek 提交于
-
由 Jon Leighton 提交于
Removed warnings from while running tests in Ruby 1.9.2
-
由 bagwanpankaj 提交于
-
- 14 6月, 2011 5 次提交
-
-
由 José Valim 提交于
Encode the uploaded file's name in utf8 - Closes #869
-
由 Damien Mathieu 提交于
-
由 Damien Mathieu 提交于
-
由 Jon Leighton 提交于
Add Gemfile dependency for require_relative on mri18. This is a dependency of linecache which is a dependency of ruby-debug. However, the latest release of linecache (0.45) omits the dependency from its gemspec, causing the build to fail. I have emailed the maintainer so we should remove this when it's fixed upstream.
-
由 Andrew White 提交于
-