Class: AdminData::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/admin_data/config.rb

Class Method Summary collapse

Class Method Details

.set=(input = {}) ⇒ Object



8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/admin_data/config.rb', line 8

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