Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (15 sloc) 0.55 kb
require 'active_scaffold_batch'
begin
ActiveScaffoldAssets.copy_to_public(ActiveScaffoldBatch.root)
rescue
raise $! unless Rails.env == 'production'
end
ActionView::Base.class_eval do
include ActiveScaffold::Helpers::UpdateColumnHelpers
if ActiveScaffold.js_framework == :jquery
include ActiveScaffold::Helpers::DatepickerUpdateColumnHelpers
elsif ActiveScaffold.js_framework == :prototype
include ActiveScaffold::Helpers::CalendarDateSelectUpdateColumnHelpers
end
include ActiveScaffold::Helpers::BatchCreateColumnHelpers
end
Jump to Line
Something went wrong with that request. Please try again.