Answer the question
In order to leave comments, you need to log in
Ruby on rails output data with specific parameter?
There is an order model, the model has an active property. I need to display both all orders in general and only those that are currently active, how can I do this within the REST model?
Answer the question
In order to leave comments, you need to log in
All - /orders (OrdersController#index)
Active - /orders/active (OrdersController#active)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question