Alessandro Desantis
Alessandro Desantis
Rather than requiring users to write/generate boilerplate code for each resource, it shouldn't be too hard to allow users to define resources with a DSL and provide hooks for customization,...
This would be a gem to associate metadata with any API resources, [like Stripe does](https://stripe.com/docs/api#metadata) in their API. Usage should be pretty simple. ```ruby # app/models/post.rb class Post < ApplicationRecord...
We should support the following formats: ```ruby step Model(invoice_id: :id) # WHERE invoice_id = params[:invoice_id] AND id = params[:id] step Model(:id) # WHERE id = params[:id] step Model(:slug, :id) #...
I've looked in the documentation, but I haven't found any information about decorators. Right now I'm doing it like this: ``` ruby g.column 'Foo' do |record| @record = record.decorate @record.foo...
numbers_and_words currently has poor support for Italian. I have the code needed to convert a number into Italian, but I'm not able to integrate it in your gem. If I...
@apotonick as per our email conversation. This PR allows to do the following: ``` ruby class SongDecorator < Representable::Decorator property :title, exec_context: :decorator def title(user_options:, **) user_options[:upcase_title] ? represented.title.upcase :...
The latest commit on the `master` branch is dated September 22, 2015, while the latest commit on the `2.0-rewrite` branch is dated December 15, 2013. I hate to be _that_...
Now that we officially support Rails, it would be great to have integration tests in place that make sure everything works properly both with the classic autoloader and with Zeitwerk,...
It would be useful to have an override generator that creates the right placeholder module in the right path.
I'm rewriting my [API layer](https://github.com/alessandro1997/panther) to use interactors and I noticed callbacks defined on an interactor are not inherited by its children. Is this the desired behavior? For the moment,...