Step 1
Step 2
The log entry:
NoMethodError (undefined method
inner_html' for nil:NilClass) lib/post_revisor.rb:445:in
update_category_description’
Stack trace:
lib/post_revisor.rb:445:in `update_category_description'
lib/post_revisor.rb:428:in `revise_topic'
lib/post_revisor.rb:163:in `block in revise!'
vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:220:in `transaction'
lib/post_revisor.rb:151:in `revise!'
app/controllers/posts_controller.rb:194:in `update'