Class: IsPositionable::Errors::NoMethodError::ActsAsList

Inherits:
Object
  • Object
show all
Defined in:
lib/is_positionable/errors/no_method_error/acts_as_list.rb

Instance Method Summary collapse

Constructor Details

#initializeActsAsList

Returns a new instance of ActsAsList.



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/is_positionable/errors/no_method_error/acts_as_list.rb', line 5

def initialize
  raise <<-MSG
The Acts As List Gem / Plugin has not been installed!

To install the gem:
sudo gem install acts_as_list

To install the plugin:
./script/plugin install git://github.com/rails/acts_as_list.git


Although this is not "required", I do recommend you (if using the GEM version)
to add the following line inside of your config/environment.rb file:
config.gem "acts_as_list"
  MSG
end