5 ms·
Rails-api isn't a new project, and the name of the project is misleading. It provides a no-frills controller. Why is this is another project and not part of act
by hakaaak 14y ago
Rails-api isn't a new project, and the name of the project is misleading. It provides a no-frills controller. Why is this is another project and not part of actionpack?
- astrodust 14y agoActionPack already has enough debris in it that it's starting to look like a typical suburban garage so crowded with boxes and nicknacks that there's no room for the car it was intended for. This is better as a separate thing. Maybe it could absorb the under-utilized ActiveResource subsystem.
- hakaaak 14y agoAgree that actionpack is a mess, but I don't like all of these new projects separate from Rails. If they are going to be versioned with Rails, just put them in rails/rails.
- steveklabnik 14y agoActiveResource is being pulled out of Rails 4 and being put into its own gem.
- steveklabnik 14y agoThe gem 'rails-api' existed before, yes, but this announcement is about the Rails API project. 1. rails-api (the gem) forms the core. 2. ActiveModel::Serializers is now under the same organization, and making them work well together is a big priority. 3. Other gems/JS libraries may be built as we see fit, and put under the project umbrella as well. 4. I am now in charge of it all. ;) > Why is this is another project and not part of actionpack? Both of these gems were originally in HEAD Rails, but David reverted them.
- hakaaak 14y ago> vBoth of these gems were originally in HEAD Rails, but David reverted them. Will serializers be in the Rails 4 Gemfile at least?
- steveklabnik 14y agoIt will not. There _is_ a library called ActiveModel::Serializers in Rails 4, but it's much worse than the implementation that we have in the rails-api organization.