Sha256: c18a00a07b54ef24b726571c7a87ab8386ff7bf0fa60541cd86a48abbe6a4e02
Contents?: true
Size: 771 Bytes
Versions: 41
Compression:
Stored size: 771 Bytes
Contents
ActiveScaffold::Bridges.bridge "CalendarDateSelect" do install do # check to see if the old bridge was installed. If so, warn them # we can detect this by checking to see if the bridge was installed before calling this code if ActiveScaffold::Config::Core.instance_methods.include?("initialize_with_calendar_date_select") raise RuntimeError, "We've detected that you have active_scaffold_calendar_date_select_bridge installed. This plugin has been moved to core. Please remove active_scaffold_calendar_date_select_bridge to prevent any conflicts" end require File.join(File.dirname(__FILE__), "lib/as_cds_bridge.rb") end install? do Object.const_defined?(name) && ActiveScaffold.js_framework == :prototype end end
Version data entries
41 entries across 41 versions & 4 rubygems