Files
danbooru/config/initializers
evazion d0f060d8eb api: refactor api attribute declarations.
Replace the `method_attributes` and `hidden_attributes` methods with
`api_attributes`. `api_attributes` can be used as a class macro:

    # include only the given attributes.
    api_attributes :id, :created_at, :creator_name, ...

    # include all default attributes plus the `creator_name` method.
    api_attributes including: [:creator_name]

or as an instance method:

    def api_attributes
       [:id, :created_at, :creator_name, ...]
    end

By default, all attributes are included except for IP addresses and
tsvector columns.
2019-09-08 23:28:02 -05:00
..
2018-04-06 18:09:57 -07:00
2010-02-04 15:08:49 -05:00
2018-06-14 17:52:41 -07:00
2014-04-16 17:43:34 -07:00
2014-04-16 17:43:34 -07:00
2014-04-16 17:43:34 -07:00
2015-01-22 16:20:25 -08:00
2015-08-19 15:53:13 -07:00