Skip to content

Instantly share code, notes, and snippets.

@BDQ
Created June 6, 2013 13:40
Show Gist options
  • Save BDQ/5721552 to your computer and use it in GitHub Desktop.
Save BDQ/5721552 to your computer and use it in GitHub Desktop.
ActionView::Template::Error (undefined method `[]' for nil:NilClass):
1: json.message_id @message['message_id']
2: json.locked do
3: json.number @locked_order['number']
4: json.locked_at 'locked_at'
app/views/orders/lock/consume.json.jbuilder:1:in `_app_views_orders_lock_consume_json_jbuilder___3235425158690258864_28771100'
app/controllers/application_controller.rb:14:in `authorize'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment