recurring_select icon indicating copy to clipboard operation
recurring_select copied to clipboard

Issue with Rails 5 alpha and Turbolinks 3

Open thomasgalibert opened this issue 9 years ago • 3 comments

Hello,

I have this message when loading js

SyntaxError: [stdin]:1:1: unexpected //=

Somebody has an idea ?

Thnks.

thomasgalibert avatar Nov 23 '15 13:11 thomasgalibert

Doesn't work on Rails 5. See recurring_select_helper.rb

Looks like this one has been abandoned.

brigneld avatar Dec 19 '16 23:12 brigneld

Is there a good alternative?

morgz avatar Jan 06 '17 16:01 morgz

#quickfix

module ApplicationHelper
  def select_recurring(object, method, default_schedules = nil, options = {}, html_options = {})
    RecurringSelectHelper::RecurringSelectTag.new(object, method, self, default_schedules, options, html_options).render
  end
end

aganov avatar Jan 13 '17 14:01 aganov