require bundler groups to include rake-tasks in engines #8262

Merged
merged 2 commits into from Nov 19, 2012
Jump to file or symbol
Failed to load files and symbols.
+8 −3
Split
View
@@ -1,8 +1,13 @@
## Rails 4.0.0 (unreleased) ##
+* Engines with a dummy app include the rake tasks of dependencies in the app namespace.
+ Fix #8229
+
+ *Yves Senn*
+
* Add sqlserver.yml template file to satisfy '-d sqlserver' being passed to 'rails new'.
- Fix #6882
-
+ Fix #6882
+
*Robert Nesius*
* Rake test:uncommitted finds git directory in ancestors *Nicolas Despres*
@@ -11,7 +11,7 @@
<%= comment_if :skip_test_unit %>require "rails/test_unit/railtie"
<% end -%>
-Bundler.require
+Bundler.require(*Rails.groups)
require "<%= name %>"
<%= application_definition %>