rails_admin 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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