jose Tomas anabalon

Joined

70 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in How do I import recurring_select in Rails 7?

I add the gem in rails 7 and worked, the thing is, when I'm using it in the form, it doensn't pop up the modal, the js isn't working,
In application.js I imported like
import "recurring_select"

importmap.erb
pin "recurring_select", to: "https...cdn.../npm/recurring-select@0.1.0/"

Does anybody knows how to make it work in rails 7?

Posted in Recurring events with the ice_cube gem Discussion

Hi, I found a solution in github /GetJobber/recurring_select/pull/152
However the thing is that the js isnĀ“t working for me, I don't know If I'm importing it correctly or how to do it in rails 7

Posted in Recurring events with the ice_cube gem Discussion

Hello there, I'm trying to use the recurrent_select gem in rails 7 but i'm getting an error
undefined method `field_name' for nil:NilClass

I'm getting this error in the form, when i try creating a new event
<%= form.select_recurring :recurring,nil, allow_blank: true%>
it seems it doesn't recognize "select_recurring", can someone help me pls?

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.