When executing
format.json{render json: {}, status: :ok}
in Rails 4.0.4, I get the following error:
ArgumentError (too few arguments):
Although I have another program (with Rails 3.2.13) where the exact same line executes with no problem. am I missing something here?
any gems?
or change in syntax with rails 4?