refinery / refinerycms-blog

The very best blogging engine for Refinery CMS
http://refinerycms.com
305 stars 251 forks source link

Error updating post translation in heroku #367

Open waiting-for-dev opened 10 years ago

waiting-for-dev commented 10 years ago

Hi there,

I have a blog in two languages. For the default one there is no problem, I can create and edit posts without problems.

But with the translated language I get an error when updating it, but only in heroku and not in my dev machine.

It is very curious but I only get this error when trying to update the post the second time. So, following steps lead to my error:

Here they are heroku logs:

32014-01-19T12:54:47.192171+00:00 app[web.1]: Started PUT "/refinery/blog/posts/got" for 95.21.242.81 at 2014-01-19 12:54:47 +0000
2014-01-19T12:54:47.229057+00:00 app[web.1]: 
2014-01-19T12:54:47.229057+00:00 app[web.1]: NoMethodError (undefined method `update_attributes' for nil:NilClass):
2014-01-19T12:54:47.229057+00:00 app[web.1]:   (eval):32:in `update'
2014-01-19T12:54:47.229057+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2014-01-19T12:54:47.229057+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:167:in `process_action'
2014-01-19T12:54:47.229057+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_controller/metal/rendering.rb:10:in `process_action'
2014-01-19T12:54:47.229057+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
2014-01-19T12:54:47.229057+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:535:in `_run__1527494244618069666__process_action__1547754208422940691__callbacks'
2014-01-19T12:54:47.229057+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback'
2014-01-19T12:54:47.229057+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
2014-01-19T12:54:47.229250+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks'
2014-01-19T12:54:47.229250+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/abstract_controller/callbacks.rb:17:in `process_action'
2014-01-19T12:54:47.229250+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_controller/metal/rescue.rb:29:in `process_action'
2014-01-19T12:54:47.229250+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
2014-01-19T12:54:47.229250+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
2014-01-19T12:54:47.229250+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2014-01-19T12:54:47.229250+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `instrument'
2014-01-19T12:54:47.229250+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
2014-01-19T12:54:47.229250+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
2014-01-19T12:54:47.229250+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2014-01-19T12:54:47.229395+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:121:in `process'
2014-01-19T12:54:47.229395+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:45:in `process'
2014-01-19T12:54:47.229395+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_controller/metal.rb:203:in `dispatch'
2014-01-19T12:54:47.229395+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
2014-01-19T12:54:47.229395+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_controller/metal.rb:246:in `block in action'
2014-01-19T12:54:47.229395+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:73:in `call'
2014-01-19T12:54:47.229395+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2014-01-19T12:54:47.229395+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:36:in `call'
2014-01-19T12:54:47.229395+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
2014-01-19T12:54:47.229395+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
2014-01-19T12:54:47.229832+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
2014-01-19T12:54:47.229832+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:612:in `call'
2014-01-19T12:54:47.229832+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/engine.rb:479:in `call'
2014-01-19T12:54:47.229832+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `method_missing'
2014-01-19T12:54:47.229832+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
2014-01-19T12:54:47.229832+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
2014-01-19T12:54:47.229832+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
2014-01-19T12:54:47.229832+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:612:in `call'
2014-01-19T12:54:47.229832+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
2014-01-19T12:54:47.229832+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
2014-01-19T12:54:47.230022+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
2014-01-19T12:54:47.230022+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2014-01-19T12:54:47.230022+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
2014-01-19T12:54:47.230022+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/conditionalget.rb:35:in `call'
2014-01-19T12:54:47.230022+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/head.rb:14:in `call'
2014-01-19T12:54:47.230022+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2014-01-19T12:54:47.230022+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/flash.rb:242:in `call'
2014-01-19T12:54:47.230022+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
2014-01-19T12:54:47.230022+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
2014-01-19T12:54:47.230022+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/cookies.rb:341:in `call'
2014-01-19T12:54:47.230388+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/dragonfly-0.9.15/lib/dragonfly/cookie_monster.rb:9:in `call'
2014-01-19T12:54:47.230388+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/query_cache.rb:64:in `call'
2014-01-19T12:54:47.230388+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
2014-01-19T12:54:47.230388+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2014-01-19T12:54:47.230388+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `_run__3635746594343315426__call__497618321679681902__callbacks'
2014-01-19T12:54:47.230388+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback'
2014-01-19T12:54:47.230388+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2014-01-19T12:54:47.230388+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks'
2014-01-19T12:54:47.230388+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2014-01-19T12:54:47.230388+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2014-01-19T12:54:47.230558+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2014-01-19T12:54:47.230558+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2014-01-19T12:54:47.230558+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/rack/logger.rb:32:in `call_app'
2014-01-19T12:54:47.230558+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/rack/logger.rb:16:in `block in call'
2014-01-19T12:54:47.230558+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/tagged_logging.rb:22:in `tagged'
2014-01-19T12:54:47.230558+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/rack/logger.rb:16:in `call'
2014-01-19T12:54:47.230558+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2014-01-19T12:54:47.230558+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
2014-01-19T12:54:47.230558+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
2014-01-19T12:54:47.230558+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2014-01-19T12:54:47.230882+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
2014-01-19T12:54:47.230882+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/static.rb:63:in `call'
2014-01-19T12:54:47.230882+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
2014-01-19T12:54:47.230882+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in `pass'
2014-01-19T12:54:47.230882+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in `invalidate'
2014-01-19T12:54:47.230882+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in `call!'
2014-01-19T12:54:47.230882+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
2014-01-19T12:54:47.230882+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/engine.rb:479:in `call'
2014-01-19T12:54:47.230882+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/application.rb:223:in `call'
2014-01-19T12:54:47.230882+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
2014-01-19T12:54:47.231084+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/rack/log_tailer.rb:17:in `call'
2014-01-19T12:54:47.231084+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/handler/webrick.rb:59:in `service'
2014-01-19T12:54:47.231084+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2014-01-19T12:54:47.231084+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2014-01-19T12:54:47.231084+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2014-01-19T12:54:47.231084+00:00 app[web.1]: 
2014-01-19T12:54:47.231084+00:00 app[web.1]: 
2014-01-19T12:54:47.231788+00:00 app[web.1]: Processing by Refinery::Blog::Admin::PostsController#update as HTML
2014-01-19T12:54:47.231788+00:00 app[web.1]:   Parameters: {"utf8"=>"✓", "authenticity_token"=>"jLC8nyQKhB4iJYJtYu2UtdQ0shwcVL8yzKhxYQmQyGA=", "switch_locale"=>"ca", "post"=>{"title"=>"catatua", "body"=>"<p>dwedwed</p>", "custom_teaser"=>"", "draft"=>"0", "thumbnail"=>"http://google.es", "pinterest_image"=>"http://www.goodgle.es", "pdf"=>"", "tag_list"=>"", "published_at(3i)"=>"19", "published_at(2i)"=>"1", "published_at(1i)"=>"2014", "published_at(4i)"=>"12", "published_at(5i)"=>"53", "custom_url"=>"", "source_url_title"=>"", "source_url"=>"", "user_id"=>"1", "browser_title"=>"", "meta_description"=>""}, "continue_editing"=>"false", "id"=>"got", "locale"=>:es}
2014-01-19T12:54:47.231788+00:00 app[web.1]: Completed 500 Internal Server Error in 30ms
2014-01-19T12:53:47.943656+00:00 heroku[router]: at=info method=GET path=/refinery/icons/tick.png host=somehost-tmp.herokuapp.com request_id=534533a9-03a8-4c83-a73f-08126d9078ad fwd="95.21.242.81" dyno=web.1 connect=1ms service=23ms status=404 bytes=728
2014-01-19T12:54:47.234718+00:00 heroku[router]: at=info method=POST path=/refinery/blog/posts/got host=somehost-tmp.herokuapp.com request_id=a74a55bb-bbda-492f-8dad-b20b9ff3ddb9 fwd="95.21.242.81" dyno=web.1 connect=6ms service=49ms status=500 bytes=643
2014-01-19T12:54:09.983178+00:00 heroku[router]: at=info method=GET path=/refinery/blog/icons/page_add.png host=somehost-tmp.herokuapp.com request_id=44947d8c-912a-4c93-952b-16321a36ed6b fwd="95.21.242.81" dyno=web.1 connect=1ms service=160ms status=404 bytes=728
2014-01-19T12:54:21.211538+00:00 heroku[router]: at=info method=GET path=/wymeditor/skins/refinery/text_italic.png host=somehost-tmp.herokuapp.com request_id=d3abaa39-1dec-4616-a0dd-57f3332d13a4 fwd="95.21.242.81" dyno=web.1 connect=1ms service=117ms status=404 bytes=728
2014-01-19T12:54:21.304076+00:00 heroku[router]: at=info method=GET path=/wymeditor/skins/refinery/link_break.png host=somehost-tmp.herokuapp.com request_id=4228f749-8e23-4a63-b37b-c31da946b872 fwd="95.21.242.81" dyno=web.1 connect=1ms service=56ms status=404 bytes=728
ugisozols commented 10 years ago

It might be related to #361 (#363).

Can you try 2-1-stable branch? You'll have to put this in your Gemfile:

gem "refinerycms-blog", :git => "https://github.com/refinery/refinerycms-blog.git", :branch => "2-1-stable"

...and run bundle install. Let us know if this fixes the issue.

waiting-for-dev commented 10 years ago

Thanks for your answer.

I updated to 2-1-stable but this didn't fix the issue :( I get the same from logs. Do you need some extra information?

ugisozols commented 10 years ago

I can't reproduce this on my mac so I'm not sure what extra info I'm missing here.

waiting-for-dev commented 10 years ago

Yeah, I only can reproduce it in heroku, not in my local machine... it's very strange...

parndt commented 10 years ago

It is usually caused by invalid data.

waiting-for-dev commented 10 years ago

What kind of invalid data? I'm just changing the title or the body of a previous successfully saved post....

parndt commented 10 years ago

Nevertheless, I thought we fixed this issue so I'm sad to see it again.

Can you tell me please, are you using globalize or globalize3? (Check your Gemfile.lock)

waiting-for-dev commented 10 years ago

globalize 3.0.4

waiting-for-dev commented 10 years ago

Do you have any clue about which the problem could be? In my development machine I get exactly the same logs for the Processing by Refinery::Blog::Admin::PostsController#update part, but in Heroku I get all the previous error backtrace and the next `500 Internal Server Error'.

I have the website waiting for this to go to actual production and I'm a little bit lost... :)

I don't think this has anything to do, but I have Post class decorated, with just some extra field...

waiting-for-dev commented 10 years ago

I have connected with my local machine in production environment to the database hosted in heroku (aws), and it works without problems. So the problem is focused on heroku...

waiting-for-dev commented 10 years ago

I'm not sure about my last statement... I have tried again and I can reproduce from my local machine connecting to heroku database from both development and production environments...

waiting-for-dev commented 10 years ago

Updated to master and still...

parndt commented 10 years ago

I can't think of what could cause this.

@waiting-for-dev did you fix the issue?

waiting-for-dev commented 10 years ago

No, I still haven't found anything :(

prokopsimek commented 9 years ago

I have this error too in -v 3 ... First time this error...

NoMethodError in Refinery::Blog::Admin::PostsController#update
undefined method `update_attributes' for nil:NilClass

Rails.root: /home/prokop/Sites/digimates_cz

Application Trace | Framework Trace | Full Trace
(eval):32:in `update'
actionpack (4.1.6) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.6) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.6) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.6) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.6) lib/active_support/callbacks.rb:149:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.6) lib/active_support/callbacks.rb:215:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:229:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:229:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:229:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:149:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.6) lib/active_support/callbacks.rb:149:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.6) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.6) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.6) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.6) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.6) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:82:in `call'
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:73:in `block in call'
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:678:in `call'
railties (4.1.6) lib/rails/engine.rb:514:in `call'
railties (4.1.6) lib/rails/railtie.rb:194:in `public_send'
railties (4.1.6) lib/rails/railtie.rb:194:in `method_missing'
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:73:in `block in call'
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:678:in `call'
dragonfly (1.0.7) lib/dragonfly/middleware.rb:14:in `call'
dragonfly (1.0.7) lib/dragonfly/middleware.rb:14:in `call'
meta_request (0.3.4) lib/meta_request/middlewares/app_request_handler.rb:13:in `call'
meta_request (0.3.4) lib/meta_request/middlewares/meta_request_handler.rb:13:in `call'
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
warden (1.2.3) lib/warden/manager.rb:34:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:35:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.6) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.6) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.6) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.6) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.6) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.6) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.6) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
rack-contrib (1.2.0) lib/rack/contrib/response_headers.rb:17:in `call'
meta_request (0.3.4) lib/meta_request/middlewares/headers.rb:16:in `call'
airbrake (4.1.0) lib/airbrake/rails/middleware.rb:13:in `call'
actionpack (4.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.6) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.6) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.6) lib/rails/rack/logger.rb:20:in `call'
quiet_assets (1.0.3) lib/quiet_assets.rb:23:in `call_with_quiet_assets'
actionpack (4.1.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
dragonfly (1.0.7) lib/dragonfly/cookie_monster.rb:9:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.6) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
airbrake (4.1.0) lib/airbrake/user_informer.rb:16:in `_call'
airbrake (4.1.0) lib/airbrake/user_informer.rb:12:in `call'
railties (4.1.6) lib/rails/engine.rb:514:in `call'
railties (4.1.6) lib/rails/application.rb:144:in `call'
thin (1.6.3) lib/thin/connection.rb:86:in `block in pre_process'
thin (1.6.3) lib/thin/connection.rb:84:in `catch'
thin (1.6.3) lib/thin/connection.rb:84:in `pre_process'
thin (1.6.3) lib/thin/connection.rb:53:in `process'
thin (1.6.3) lib/thin/connection.rb:39:in `receive_data'
eventmachine (1.0.3) lib/eventmachine.rb:187:in `run_machine'
eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
thin (1.6.3) lib/thin/backends/base.rb:73:in `start'
thin (1.6.3) lib/thin/server.rb:162:in `start'
thin (1.6.3) lib/thin/controllers/controller.rb:87:in `start'
thin (1.6.3) lib/thin/runner.rb:200:in `run_command'
thin (1.6.3) lib/thin/runner.rb:156:in `run!'
thin (1.6.3) bin/thin:6:in `<top (required)>'
/home/prokop/.rvm/gems/ruby-2.1.5/bin/thin:23:in `load'
/home/prokop/.rvm/gems/ruby-2.1.5/bin/thin:23:in `<main>'
/home/prokop/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `eval'
/home/prokop/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `<main>'
Request

Parameters:

{"utf8"=>"✓",
 "_method"=>"patch",
 "authenticity_token"=>"KzaU+vlWMeYhdjIShmVvV4Z961+vh4OVJFxdb96NhA8=",
 "switch_locale"=>"en",
 "post"=>{"title"=>"EN",
 "file_id"=>"",
 "body"=>"<p>Obsah</p>",
 "custom_teaser"=>"<p>Perex</p>",
 "draft"=>"0",
 "tag_list"=>"",
 "published_at(3i)"=>"28",
 "published_at(2i)"=>"11",
 "published_at(1i)"=>"2014",
 "published_at(4i)"=>"15",
 "published_at(5i)"=>"04",
 "custom_url"=>"",
 "source_url_title"=>"",
 "source_url"=>"",
 "user_id"=>"3",
 "browser_title"=>"",
 "meta_description"=>""},
 "continue_editing"=>"false",
 "id"=>"cesky",
 "locale"=>:cs}
GIT
  remote: git://github.com/airblade/paper_trail.git
  revision: 42783392c8b3d3383424f8b795d508034b9a7cd1
  branch: master
  specs:
    paper_trail (3.1.0.alpha)
      activerecord (>= 3.0, < 5.0)
      activesupport (>= 3.0, < 5.0)

GIT
  remote: git://github.com/parndt/seo_meta.git
  revision: c575efda84bb775694c32b13f9b446265c6b1e33
  branch: master
  specs:
    seo_meta (2.0.0.rc.1)
      railties (>= 3.0.0)

GIT
  remote: git://github.com/refinery/refinerycms-blog.git
  revision: a17ffb7908840ba1fee430788b99ef749f4f9412
  branch: master
  specs:
    refinerycms-blog (3.0.0)
      acts-as-taggable-on
      filters_spam (~> 0.2)
      friendly_id (~> 5.0.0)
      globalize (~> 4.0.0)
      jquery-ui-rails (~> 5.0.0)
      rails_autolink (~> 1.1.3)
      refinerycms-core (~> 3.0.0)
      refinerycms-settings (~> 3.0.0)
      refinerycms-wymeditor (~> 1.0.1)
      seo_meta (~> 2.0.0.rc.1)

GIT
  remote: git://github.com/refinery/refinerycms-i18n.git
  revision: 6d7f6aef7c161cc0bc3a5ba2c9deee18319dfd8d
  branch: master
  specs:
    refinerycms-i18n (3.0.0.dev)
      rails-i18n (~> 4.0.1)
      routing-filter (>= 0.4.0.dev)

GIT
  remote: git://github.com/refinery/refinerycms-page-images.git
  revision: bc617e74fd5c8de588464898cfcf345cbf2b0464
  branch: master
  specs:
    refinerycms-page-images (3.0.0)
      decorators (~> 1.0.0)
      globalize (~> 4.0)
      refinerycms-pages (~> 3.0.0)

GIT
  remote: git://github.com/refinery/refinerycms-settings.git
  revision: 10c12da53e0c6a793497c43f6cdd2f17a97e9632
  branch: master
  specs:
    refinerycms-settings (3.0.0)
      friendly_id (~> 5.0, >= 5.0.1)
      refinerycms-core (~> 3.0, >= 3.0.0)

GIT
  remote: git://github.com/refinery/refinerycms.git
  revision: 114fdd1a71f18cbcc6e0ac7df2eade4144fade99
  branch: master
  specs:
    refinerycms (3.0.0)
      bundler (>= 1.2.2)
      refinerycms-authentication (= 3.0.0)
      refinerycms-core (= 3.0.0)
      refinerycms-images (= 3.0.0)
      refinerycms-pages (= 3.0.0)
      refinerycms-resources (= 3.0.0)
    refinerycms-authentication (3.0.0)
      actionmailer (>= 4.0.2, < 4.2)
      devise (~> 3.0, >= 3.2.4)
      friendly_id (>= 5.0.0.rc1)
      refinerycms-core (= 3.0.0)
    refinerycms-core (3.0.0)
      actionpack (~> 4.1.5)
      activerecord (~> 4.1.5)
      awesome_nested_set (~> 3.0.0)
      coffee-rails (~> 4.0.0)
      decorators (~> 1.0.0)
      jquery-rails (>= 2.3.0)
      jquery-ui-rails (~> 5.0.0)
      railties (~> 4.1.5)
      refinerycms-i18n (~> 3.0.0.dev)
      sass-rails (~> 4.0.0)
      truncate_html (~> 0.9)
      will_paginate (~> 3.0.2)
    refinerycms-images (3.0.0)
      dragonfly (~> 1.0.0)
      dragonfly-s3_data_store (~> 1.0.0)
      refinerycms-core (= 3.0.0)
    refinerycms-pages (3.0.0)
      awesome_nested_set (~> 3.0.0)
      babosa (!= 0.3.6)
      friendly_id (~> 5.0.1)
      globalize (~> 4.0.0)
      refinerycms-core (= 3.0.0)
      seo_meta (~> 2.0.0.rc.1)
    refinerycms-resources (3.0.0)
      acts_as_indexed (~> 0.8.0)
      dragonfly (~> 1.0.0)
      dragonfly-s3_data_store (~> 1.0.0)
      refinerycms-core (= 3.0.0)

PATH
  remote: vendor/extensions
  specs:
    refinerycms-copy_htmls (1.0)
      acts_as_indexed (~> 0.8.0)
      refinerycms-core (~> 3.0.0)
    refinerycms-events (1.0)
      refinerycms-core (~> 3.0.0)
    refinerycms-it_roles (1.0)
      acts_as_indexed (~> 0.8.0)
      refinerycms-core (~> 3.0.0)
    refinerycms-products (1.0)
      acts_as_indexed (~> 0.8.0)
      refinerycms-core (~> 3.0.0)
    refinerycms-providers (1.0)
      refinerycms-core (~> 3.0.0)
    refinerycms-stories (1.0)
      acts_as_indexed (~> 0.8.0)
      refinerycms-core (~> 3.0.0)
    refinerycms-tag_categories (1.0)
      refinerycms-core (~> 3.0.0)
    refinerycms-tags (1.0)
      refinerycms-core (~> 3.0.0)

GIT
  remote: ssh://git@vps.wpsh.cz:22443/~/repos/skeletor.git
  revision: 5fc3e9edccd67312b1cb6b461db2d079b274902a
  branch: master
  specs:
    refinerycms-skeletors (3.0.0)
      acts_as_indexed (~> 0.8.0)
      mysql2
      refinerycms-core (~> 3.0.0)
    refinerycms-superinquiries (3.0.0)
      refinerycms-core (~> 3.0.0)

GEM
  remote: https://rubygems.org/
  specs:
    CFPropertyList (2.2.8)
    actionmailer (4.1.6)
      actionpack (= 4.1.6)
      actionview (= 4.1.6)
      mail (~> 2.5, >= 2.5.4)
    actionpack (4.1.6)
      actionview (= 4.1.6)
      activesupport (= 4.1.6)
      rack (~> 1.5.2)
      rack-test (~> 0.6.2)
    actionview (4.1.6)
      activesupport (= 4.1.6)
      builder (~> 3.1)
      erubis (~> 2.7.0)
    activemodel (4.1.6)
      activesupport (= 4.1.6)
      builder (~> 3.1)
    activerecord (4.1.6)
      activemodel (= 4.1.6)
      activesupport (= 4.1.6)
      arel (~> 5.0.0)
    activesupport (4.1.6)
      i18n (~> 0.6, >= 0.6.9)
      json (~> 1.7, >= 1.7.7)
      minitest (~> 5.1)
      thread_safe (~> 0.1)
      tzinfo (~> 1.1)
    acts-as-taggable-on (3.4.2)
      activerecord (>= 3.2, < 5)
    acts_as_indexed (0.8.3)
    addressable (2.3.6)
    airbrake (4.1.0)
      builder
      multi_json
    arel (5.0.1.20140414130214)
    awesome_nested_set (3.0.1)
      activerecord (>= 4.0.0, < 5)
    babosa (0.3.11)
    bcrypt (3.1.9)
    bcrypt (3.1.9-x86-mingw32)
    binding_of_caller (0.7.2)
      debug_inspector (>= 0.0.1)
    bourbon (3.2.3)
      sass (~> 3.2)
      thor
    builder (3.2.2)
    callsite (0.0.11)
    coffee-rails (4.0.1)
      coffee-script (>= 2.2.0)
      railties (>= 4.0.0, < 5.0)
    coffee-script (2.3.0)
      coffee-script-source
      execjs
    coffee-script-source (1.8.0)
    daemons (1.1.9)
    debug_inspector (0.0.2)
    decorators (1.0.3)
      railties (>= 3.0.19, != 3.2.9, != 3.2.8, != 3.2.7, != 3.2.6, != 3.2.5, != 3.2.4, != 3.2.3, != 3.2.2, != 3.2.10, != 3.2.1, != 3.2.0, != 3.1.9, != 3.1.8, != 3.1.7, != 3.1.6, != 3.1.5, != 3.1.4, != 3.1.3, != 3.1.2, != 3.1.1, != 3.1.0)
    devise (3.4.1)
      bcrypt (~> 3.0)
      orm_adapter (~> 0.1)
      railties (>= 3.2.6, < 5)
      responders
      thread_safe (~> 0.1)
      warden (~> 1.2.3)
    dragonfly (1.0.7)
      addressable (~> 2.3)
      multi_json (~> 1.0)
      rack
    dragonfly-s3_data_store (1.0.4)
      dragonfly (~> 1.0)
      fog
    erubis (2.7.0)
    eventmachine (1.0.3)
    eventmachine (1.0.3-x86-mingw32)
    excon (0.42.1)
    execjs (2.2.2)
    filters_spam (0.4)
    fission (0.5.0)
      CFPropertyList (~> 2.2)
    fog (1.25.0)
      fog-brightbox (~> 0.4)
      fog-core (~> 1.25)
      fog-json
      fog-profitbricks
      fog-radosgw (>= 0.0.2)
      fog-sakuracloud (>= 0.0.4)
      fog-softlayer
      fog-terremark
      fog-vmfusion
      fog-voxel
      fog-xml (~> 0.1.1)
      ipaddress (~> 0.5)
      nokogiri (~> 1.5, >= 1.5.11)
      opennebula
    fog-brightbox (0.7.1)
      fog-core (~> 1.22)
      fog-json
      inflecto (~> 0.0.2)
    fog-core (1.25.0)
      builder
      excon (~> 0.38)
      formatador (~> 0.2)
      mime-types
      net-scp (~> 1.1)
      net-ssh (>= 2.1.3)
    fog-json (1.0.0)
      multi_json (~> 1.0)
    fog-profitbricks (0.0.1)
      fog-core
      fog-xml
      nokogiri
    fog-radosgw (0.0.3)
      fog-core (>= 1.21.0)
      fog-json
      fog-xml (>= 0.0.1)
    fog-sakuracloud (0.1.1)
      fog-core
      fog-json
    fog-softlayer (0.3.25)
      fog-core
      fog-json
    fog-terremark (0.0.3)
      fog-core
      fog-xml
    fog-vmfusion (0.0.1)
      fission
      fog-core
    fog-voxel (0.0.2)
      fog-core
      fog-xml
    fog-xml (0.1.1)
      fog-core
      nokogiri (~> 1.5, >= 1.5.11)
    formatador (0.2.5)
    friendly_id (5.0.4)
      activerecord (>= 4.0.0)
    globalize (4.0.3)
      activemodel (>= 4.0.0, < 5)
      activerecord (>= 4.0.0, < 5)
    hike (1.2.3)
    httparty (0.13.3)
      json (~> 1.8)
      multi_xml (>= 0.5.2)
    i18n (0.6.11)
    inflecto (0.0.2)
    ipaddress (0.8.0)
    jbuilder (2.2.5)
      activesupport (>= 3.0.0, < 5)
      multi_json (~> 1.2)
    jquery-rails (3.1.2)
      railties (>= 3.0, < 5.0)
      thor (>= 0.14, < 2.0)
    jquery-ui-rails (5.0.3)
      railties (>= 3.2.16)
    json (1.8.1)
    launchy (2.4.3)
      addressable (~> 2.3)
    letter_opener (1.3.0)
      launchy (~> 2.2)
    libv8 (3.16.14.7)
    mail (2.6.3)
      mime-types (>= 1.16, < 3)
    meta_request (0.3.4)
      callsite (~> 0.0, >= 0.0.11)
      rack-contrib (~> 1.1)
      railties (>= 3.0.0, < 5.0.0)
    mime-types (2.4.3)
    mini_portile (0.6.1)
    minitest (5.4.3)
    multi_json (1.10.1)
    multi_xml (0.5.5)
    mysql2 (0.3.17)
    net-scp (1.2.1)
      net-ssh (>= 2.6.5)
    net-ssh (2.9.1)
    nokogiri (1.6.5)
      mini_portile (~> 0.6.0)
    nokogiri (1.6.5-x86-mingw32)
      mini_portile (~> 0.6.0)
    opennebula (4.10.1)
      json
      nokogiri
      rbvmomi
    orm_adapter (0.5.0)
    quiet_assets (1.0.3)
      railties (>= 3.1, < 5.0)
    rack (1.5.2)
    rack-contrib (1.2.0)
      rack (>= 0.9.1)
    rack-test (0.6.2)
      rack (>= 1.0)
    rails (4.1.6)
      actionmailer (= 4.1.6)
      actionpack (= 4.1.6)
      actionview (= 4.1.6)
      activemodel (= 4.1.6)
      activerecord (= 4.1.6)
      activesupport (= 4.1.6)
      bundler (>= 1.3.0, < 2.0)
      railties (= 4.1.6)
      sprockets-rails (~> 2.0)
    rails-footnotes (4.1.4)
      rails (>= 3.2)
    rails-i18n (4.0.3)
      i18n (~> 0.6)
      railties (~> 4.0)
    rails_autolink (1.1.6)
      rails (> 3.1)
    railties (4.1.6)
      actionpack (= 4.1.6)
      activesupport (= 4.1.6)
      rake (>= 0.8.7)
      thor (>= 0.18.1, < 2.0)
    rake (10.4.2)
    rbvmomi (1.8.2)
      builder
      nokogiri (>= 1.4.1)
      trollop
    rdoc (4.2.0)
      json (~> 1.4)
    ref (1.0.5)
    refinerycms-acts-as-indexed (2.0.0)
      acts_as_indexed (~> 0.8.0)
      decorators (~> 1.0.0)
      refinerycms-core (~> 3.0.0)
    refinerycms-wymeditor (1.0.3)
      refinerycms-core (~> 3.0, >= 3.0.0)
    responders (1.1.2)
      railties (>= 3.2, < 4.2)
    routing-filter (0.4.0.pre)
      actionpack
    sass (3.2.19)
    sass-rails (4.0.5)
      railties (>= 4.0.0, < 5.0)
      sass (~> 3.2.2)
      sprockets (~> 2.8, < 3.0)
      sprockets-rails (~> 2.0)
    sdoc (0.4.1)
      json (~> 1.7, >= 1.7.7)
      rdoc (~> 4.0)
    spring (1.2.0)
    sprockets (2.12.3)
      hike (~> 1.2)
      multi_json (~> 1.0)
      rack (~> 1.0)
      tilt (~> 1.1, != 1.3.0)
    sprockets-rails (2.2.2)
      actionpack (>= 3.0)
      activesupport (>= 3.0)
      sprockets (>= 2.8, < 4.0)
    sqlite3 (1.3.10)
    sqlite3 (1.3.10-x86-mingw32)
    therubyracer (0.12.1)
      libv8 (~> 3.16.14.0)
      ref
    thin (1.6.3)
      daemons (~> 1.0, >= 1.0.9)
      eventmachine (~> 1.0)
      rack (~> 1.0)
    thor (0.19.1)
    thread_safe (0.3.4)
    tilt (1.4.1)
    trollop (2.0)
    truncate_html (0.9.3)
    turbolinks (2.5.3)
      coffee-rails
    tzinfo (1.2.2)
      thread_safe (~> 0.1)
    uglifier (2.6.0)
      execjs (>= 0.3.0)
      json (>= 1.8.0)
    warden (1.2.3)
      rack (>= 1.0)
    will_paginate (3.0.7)

PLATFORMS
  ruby
  x86-mingw32

DEPENDENCIES
  airbrake
  binding_of_caller
  bourbon
  coffee-rails (~> 4.0.0)
  execjs
  friendly_id (~> 5.0.0)
  httparty
  jbuilder (~> 2.0)
  jquery-rails
  letter_opener
  meta_request
  mysql2
  nokogiri
  paper_trail!
  quiet_assets
  rails (= 4.1.6)
  rails-footnotes (>= 4.0.0, < 5)
  rake
  refinerycms!
  refinerycms-acts-as-indexed (~> 2.0, >= 2.0.0)
  refinerycms-blog!
  refinerycms-copy_htmls!
  refinerycms-events!
  refinerycms-i18n!
  refinerycms-it_roles!
  refinerycms-page-images!
  refinerycms-products!
  refinerycms-providers!
  refinerycms-settings!
  refinerycms-skeletors!
  refinerycms-stories!
  refinerycms-superinquiries!
  refinerycms-tag_categories!
  refinerycms-tags!
  refinerycms-wymeditor (~> 1.0, >= 1.0.0)
  sass-rails (~> 4.0.3)
  sdoc (~> 0.4.0)
  seo_meta!
  spring
  sqlite3
  therubyracer
  thin
  turbolinks
  uglifier (>= 1.3.0)

After this error I can't to edit again....

ArgumentError in Refinery::Blog::Admin::Posts#edit
Showing /home/prokop/Sites/digimates_cz/app/views/refinery/blog/admin/posts/_form.html.erb where line #1 raised:

First argument in form cannot contain nil or be empty
Extracted source (around line #1):
1
2
3
4

  <%= form_for [refinery, :blog_admin, @post] do |f| -%>
    <%= render "/refinery/admin/error_messages",
               :object => f.object,
               :include_object_name => true %>

Trace of template inclusion: /home/prokop/.rvm/gems/ruby-2.1.5/bundler/gems/refinerycms-blog-a17ffb790884/app/views/refinery/blog/admin/posts/edit.html.erb

Rails.root: /home/prokop/Sites/digimates_cz

Application Trace | Framework Trace | Full Trace
actionview (4.1.6) lib/action_view/helpers/form_helper.rb:423:in `form_for'
app/views/refinery/blog/admin/posts/_form.html.erb:1:in `_app_views_refinery_blog_admin_posts__form_html_erb__2182076399960955780_69927180'
actionview (4.1.6) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.6) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.6) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.6) lib/action_view/template.rb:143:in `render'
actionview (4.1.6) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.6) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.6) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.6) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.6) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.6) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.6) lib/action_view/helpers/rendering_helper.rb:35:in `render'
/home/prokop/.rvm/gems/ruby-2.1.5/bundler/gems/refinerycms-blog-a17ffb790884/app/views/refinery/blog/admin/posts/edit.html.erb:1:in `__home_prokop__rvm_gems_ruby_______bundler_gems_refinerycms_blog_a__ffb_______app_views_refinery_blog_admin_posts_edit_html_erb___1389416323658577912_70592420'
actionview (4.1.6) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.6) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.6) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.6) lib/action_view/template.rb:143:in `render'
actionview (4.1.6) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.6) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.6) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.6) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.6) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.6) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.6) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.6) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.6) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.6) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.6) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.6) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.6) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.6) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.6) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.6) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.6) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/home/prokop/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.1.6) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.6) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.6) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.6) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.6) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.6) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.6) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.6) lib/active_support/callbacks.rb:149:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.6) lib/active_support/callbacks.rb:215:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:229:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:229:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:229:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.6) lib/active_support/callbacks.rb:149:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.6) lib/active_support/callbacks.rb:149:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `call'
activesupport (4.1.6) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.6) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.6) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.6) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.6) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.6) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.6) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.6) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.6) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.6) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.6) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:82:in `call'
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:73:in `block in call'
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:678:in `call'
railties (4.1.6) lib/rails/engine.rb:514:in `call'
railties (4.1.6) lib/rails/railtie.rb:194:in `public_send'
railties (4.1.6) lib/rails/railtie.rb:194:in `method_missing'
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:73:in `block in call'
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.1.6) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.6) lib/action_dispatch/routing/route_set.rb:678:in `call'
dragonfly (1.0.7) lib/dragonfly/middleware.rb:14:in `call'
dragonfly (1.0.7) lib/dragonfly/middleware.rb:14:in `call'
meta_request (0.3.4) lib/meta_request/middlewares/app_request_handler.rb:13:in `call'
meta_request (0.3.4) lib/meta_request/middlewares/meta_request_handler.rb:13:in `call'
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
warden (1.2.3) lib/warden/manager.rb:34:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.6) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.6) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.6) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.6) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.6) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.6) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.6) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.6) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.6) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
rack-contrib (1.2.0) lib/rack/contrib/response_headers.rb:17:in `call'
meta_request (0.3.4) lib/meta_request/middlewares/headers.rb:16:in `call'
airbrake (4.1.0) lib/airbrake/rails/middleware.rb:13:in `call'
actionpack (4.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.6) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.6) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.6) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.6) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.6) lib/rails/rack/logger.rb:20:in `call'
quiet_assets (1.0.3) lib/quiet_assets.rb:23:in `call_with_quiet_assets'
actionpack (4.1.6) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
dragonfly (1.0.7) lib/dragonfly/cookie_monster.rb:9:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.6) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
airbrake (4.1.0) lib/airbrake/user_informer.rb:16:in `_call'
airbrake (4.1.0) lib/airbrake/user_informer.rb:12:in `call'
railties (4.1.6) lib/rails/engine.rb:514:in `call'
railties (4.1.6) lib/rails/application.rb:144:in `call'
thin (1.6.3) lib/thin/connection.rb:86:in `block in pre_process'
thin (1.6.3) lib/thin/connection.rb:84:in `catch'
thin (1.6.3) lib/thin/connection.rb:84:in `pre_process'
thin (1.6.3) lib/thin/connection.rb:53:in `process'
thin (1.6.3) lib/thin/connection.rb:39:in `receive_data'
eventmachine (1.0.3) lib/eventmachine.rb:187:in `run_machine'
eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
thin (1.6.3) lib/thin/backends/base.rb:73:in `start'
thin (1.6.3) lib/thin/server.rb:162:in `start'
thin (1.6.3) lib/thin/controllers/controller.rb:87:in `start'
thin (1.6.3) lib/thin/runner.rb:200:in `run_command'
thin (1.6.3) lib/thin/runner.rb:156:in `run!'
thin (1.6.3) bin/thin:6:in `<top (required)>'
/home/prokop/.rvm/gems/ruby-2.1.5/bin/thin:23:in `load'
/home/prokop/.rvm/gems/ruby-2.1.5/bin/thin:23:in `<main>'
/home/prokop/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `eval'
/home/prokop/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `<main>'
Request

Parameters:

{"switch_locale"=>"en",
 "id"=>"co-dela-uspesneho-projektoveho-manazera-uspesnym",
 "locale"=>:cs}
prokopsimek commented 9 years ago

@waiting-for-dev Do you have any custom attributes in your post? I have...