Sha256: 44f87c86a0d899394ddabc3bd845c1321b7f1283f5ed2a6ecc31e003e1ca2412
Contents?: true
Size: 639 Bytes
Versions: 11
Compression:
Stored size: 639 Bytes
Contents
# Following code takes care of providing a nice error # message to users who are using old API module AdminData class Config cattr_accessor :setting def self.set=(input = {}) msg=<<EOF AdminData API has changed in version 1.1 . The changes are very minor. Instead of AdminData::Config.set = { :find_conditions => .... } Now you need to write in following style AdminData.config do |config| config.find_conditions = ... end Please refer to documentation at https://github.com/neerajdotname/admin_data/wiki/Customizing-admin_data-for-a-Rails-3-application for more information. EOF raise msg end end end
Version data entries
11 entries across 11 versions & 2 rubygems