I'm not suggesting any breaking changes at all.
I've been using Rails since Rails version 2 so I don't know what you mean
"like that from the beginning"
In the beginning, DHH said things would "just work" and, as a community we
would value convention over configuration.
As far as using
ng a js view when you process the unsubscribe action? what
> does you action do? what do you respond to the user from your server? you
> have to tell rails what to do when you submit the form, how are you telling
> rails what to do?
>
> El mar., 18 feb. 2020 a las 14:46, Momeas In
it says here in the docs that for turobolinks that you now have to BIND ALL
YOUR AJAX EVENTS (!?!?) if you want your forms to submit correctly.
https://guides.rubyonrails.org/working_with_javascript_in_rails.html#remote-elements
"You probably don't want to just sit there with a filled out ,
Nicholas,
With all due respect, if you "wrote the docs on form_with," I would refer
you to my previous thread in which I am complaining about Turbolinks being
default (I think it shouldn't be).
You will also note that the only place local: true appears on the form_with
documentation is in a
Juodziukynas wrote:
>
> It doesn't say you that you HAVE to bind all the ajax events. It
> explicitly says that you "probably" want to do that if you "probably" want
> to do something other than just submitting the form.
>
> El dom., 16 feb. 2020 a
gt;>> maybe you have some other js messing up rails' ajax handers.
>>>
>>> El mar., 18 feb. 2020 a las 14:22, Momeas Interactive (<
>>> te...@datatravels.com >) escribió:
>>>
>>>> Incorrect. You HAVE to bind your Ajax events, or else there is
Fugee-
when you switch from css to scss, you need to rename application.css to
application.scss and do the following:
*stop using //= require*
instead use @import always and from now on when using scss. Do not use *//=
require *syntax anymore
this is explained in the "IMPORTANT NOTE" at the
I don't think polymorphism in Rails can work that way
did you try
`has_many :users_following, through: :active_relationships, source:
:followable, source_type: "FollowableUser"`
`has_many :projects_following, through: :active_relationships, source:
:followable, source_type:
8 matches
Mail list logo