David Roy
David Roy
So far we've had to add a few monkey patches to get dash-case into snake_case and how we have some js clients wanting to use 1.1 with camelCase. It would...
For rails 5 plus I found this little snippet that you can add to an initialiser instead of monkey patching the gem. The only issue comes where we are wanting...
I'll hop to it as soon as I can, it shouldn't be too tricky
Another oddity discovered required a wee bit more work. ```ruby class Foo < JsonApiClient::Resource property :fuzz end class Bar < JsonApiClient::Resource has_one :foo has_many :foos end bar = Bar.new bar.foo...
@senid231 so an example where we would want to access the relationship before committing it is for instance when using a wizard like an order checkout. ```ruby class Item <...
We've been enjoying this gem for Rails controllers but now moving to Grape API's it would be smashing if there was an easy to use interface. So a wee plus...
We heavily use Strapi at Opera and in my client projects in Code Bunnies. But I very much prefer to keep in the Ruby system and your CMS is quite...
For now I am using the following in `app/overrides/controllers/maglev/assets_controller_override.rb` ```ruby Maglev::AssetsController.class_eval do def show @asset = Maglev::Asset.find(resource_id) send_data @asset.download, filename: @asset.filename, type: @asset.content_type, disposition: "inline" cache_control = Rails.configuration.public_file_server.headers["cache-control"] if cache_control...
That would indeed be the best solution and would save ballooning costs for people using S3.
Aye. I think it would be confusing for customers. So if I provide 3 different footers and 2 different headers... why would the user need to know they have to...