I'm afraid they are not compatible, if they would use prepend and super,
instead of alias, it should work. However, I guess it isn't possible to
override a method twice, once using alias and once using prepend.
Prepend is the recommended way for newer ruby versions, I guess they still
using alias to support ruby < 2.0
El miércoles, 27 de diciembre de 2017 1:20:56 (CET) Jeff Surrett escribió:
> I am trying to use remotipart to upload a file using an AJAX form through
> active scaffold. When I install the remotipart gem, and try to access a
>
> form, I get:
> > A SystemStackError occurred in families#index:
> > stack level too deep
>
> I am using the master branch of active_scaffold from the git repository,
> Rails 5.1.4, Remotipart gem 1.3.1, Ruby 2.4.1.
>
> Steps to Reproduce:
>
> - Create new rails 5 app
> - Add the active_scaffold gem and the remotipart gem
> - Generate a new active_scaffold (rails g active_scaffold:resource User
> name:string)
> - Start the server
> - Try to access the resource