Closed patricklindsay closed 3 years ago
PR are welcome
btw you should require client_side_validations-simple_form
as
require 'client_side_validations/simple_form'
I'm not familiar with the code, I would just hard code the asset_directory
method to return app/assets/javascripts
but not sure if this is the right approach.
Cool thanks that resolved my second issue :)
I don't know if this is still an issue, but I'm going to close here
When running the generator inside an engine I get the following message
Seems like this is blowing up here because a Rails application doesn't exist. A workaround I found was to return early from the
installation_message
method.Now the issue I'm having (which is why I'm posting in this repo) is that I can't seem to load
client_side_validations-simple_form
gem from the engine. I've added it as a dependency in the gemspec and tried to require it within the Engine.Thanks in advance!