Sha256: 527114de8126c90d52a19252e98753e11fd0e8965184cc4f75cada3bbbdb412d
Contents?: true
Size: 1.46 KB
Versions: 2
Compression:
Stored size: 1.46 KB
Contents
begin require 'will_paginate' rescue LoadError => e $stderr.puts %( ************************************************************************************************* * * * gem will_paginate is missing * * plugin admin_data depends on will_paginate * * Please install will_paginate by adding following line to Gemfile * * gem 'will_paginate', :git => 'git://github.com/mislav/will_paginate.git', :branch => 'rails3' * * * ************************************************************************************************* ) end module AdminData end require 'admin_data/settings' AdminData::Config.initialize_defaults if Rails.version >= '3.0' require 'admin_data/railtie' else raise "Please see documentation at http://neerajdotname.github.com/admin_data to find out how to use this plugin with rails 2.3" end # move date_validation to inside admin_data require 'admin_data_date_validation' require 'admin_data/helpers' require 'admin_data/chelper' require 'admin_data/compatibility' require 'admin_data/settings' require 'admin_data/util' AdminData::Config.initialize_defaults ActionView::Base.send :include, AdminData::Helpers
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
admin_data-1.0.6 | lib/admin_data.rb |
admin_data-1.0.5 | lib/admin_data.rb |