rails_admin 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rails_admin might be problematic. Click here for more details.
- data/lib/rails_admin/config.rb +0 -1
- data/lib/rails_admin/version.rb +1 -1
- metadata +1 -1
data/lib/rails_admin/config.rb
CHANGED
@@ -272,7 +272,6 @@ module RailsAdmin
|
|
272
272
|
# @see RailsAdmin::Config.registry
|
273
273
|
def models(&block)
|
274
274
|
if block
|
275
|
-
raise 'coucou'
|
276
275
|
ActiveSupport::Deprecation.warn("'config.models do ... end' is deprecated for performance reasons and will be removed in next major release, please duplicate to every concerned model instead.")
|
277
276
|
end
|
278
277
|
RailsAdmin::AbstractModel.all.map{|m| model(m, &block)}
|
data/lib/rails_admin/version.rb
CHANGED