-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patherror_result.rb
30 lines (28 loc) · 58.6 KB
/
error_result.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[200, {"X-Frame-Options"=>"SAMEORIGIN", "X-XSS-Protection"=>"1; mode=block", "X-Content-Type-Options"=>"nosniff", "Content-Type"=>"text/html; charset=utf-8"},
#<ActionDispatch::Response::RackBody:0x000000031f91d8 @response=#<ActionDispatch::Response:0x00000005a1b058 @mon_owner=nil, @mon_count=0,
@mon_mutex=#<Thread::Mutex:0x00000005a1a428>
, @stream=#<ActionDispatch::Response::Buffer:0x000000033183e8 @response=#<ActionDispatch::Response:0x00000005a1b058 ...>, @buf=["<!DOCTYPE html>\n<html>\n <head>\n
<title>Edit a Recipe | FitnessLabs (A & K LABS)</title>\n <link rel=\"stylesheet\" media=\"all\" href=\"/assets/application-258ce3df68c253b6d459077f5e4355d77d7fd920b5dc4f8ae246fe3c79e23d5f.css\"
data-turbolinks-track=\"true\" />\n <script src=\"/assets/application-1925fe93b71d5dc265e512e9885e5f22bc7f567236607aa5e3febcf57e6fd6cf.js\" data-turbolinks-track=\"true\">
</script>\n \n \n <link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/assets/logo-d316bd1c8d0432e29df74b877328ba111e5c06bfaf8b8d95d5c8e704be7173f7.ico\" />\n
<link href=\"https://fonts.googleapis.com/css?family=Doppio+One|Pacifico\" rel=\"stylesheet\">\n <!--<script src=\"//load.sumome.com/\" data-sumo-site-id=\
"c5bf8251f90d125ef3264df7e976b4ab5a4a5a380ab1deaec05444284b2169d0\" async=\"async\"></script>-->\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n </head>\n <body>\n \n <header role=\"banner\">\n <nav class=\"navbar navbar-inverse
navbar-fixed-top\">\n <div class=\"container-fluid sloppy-fix\">\n <div class=\"navbar-header\"> n <button type=\"button\" class=\"navbar-toggle\" data-toggle=\
"collapse\"\n data-target=\"#bs-example-navbar-collapse-1\">\n <span class=\"icon-bar\"></span>\n <span class=\"icon-bar\"></span>\n
<span class=\"icon-bar\"></span>\n </button>\n <div id=\"logo\">\n <a class=\"btn btn-default btn-success\" id=\"logo\" href=\"/\">\n
FitnessLab <i class=\"fa fa-cutlery\" aria-hidden=\"true\"></i>\n</a> </div>\n </div>\n <div class=\"navbar-collapse collapse\" id=\"bs-example-navbar-collapse-1\"
>\n <ul class=\"nav navbar-nav\" >\n <li class=\"active\" ><a href=\"/\">Home</a>\n <span class=\"sr-only\">(current)</span>\n </li>\n
</ul>\n <form class=\"navbar-form\" role=\"search\" id=\"search\" action=\"/dashboard/search\" accept-charset=\"UTF-8\" method=\"post\"><input name=\"utf8\" type=\"hidden\"
value=\"✓\" />\n <div class=\"form-group\">\n <input type=\"text\" name=\"search_name\" id=\"search_name\" placeholder=\"Search for friends\" class=\"
form-control\" />\n </div>\n <input type=\"submit\" name=\"commit\" value=\"Search\" class=\"btn btn-default\" id=\"search-button\" />\n</form>
<ul class=\"nav navbar-nav navbar-right\">\n <li class=\"dropdown\"><a data-toggle=\"dropdown\" href=\"#\">\n Recipes <b class=\"caret\"></b>\n</a> <ul class=\"dropdown-menu\">\n <li class=\"dropdown-header\">Search by</li>\n <li class=\"dropdown-submenu\">\n <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Styles</a>\n <ul class=\"dropdown-menu\">\n <li class=\"divider\"></li>\n <li>\n <a href=\"/styles/new\">\n New Style\n</a> </li>\n </li>\n </ul>\n \n <li class=\"divider\"></li>\n <li class=\"dropdown-submenu\">\n <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Feeds</a>\n <ul class=\"dropdown-menu\">\n <li class=\"divider\"></li>\n <li>\n <a href=\"/feeds/new\">\n New Feeds\n</a> </li>\n </li>\n </ul>\n <li class=\"divider\"></li>\n <li class=\"dropdown-submenu\">\n <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Preptime</a>\n <ul class=\"dropdown-menu\">\n <li class=\"divider\"></li>\n <li>\n <a href=\"/preptimes/new\">\n New preptime\n</a> </li>\n </li>\n </ul>\n <li class=\"divider\"></li>\n <li class=\"dropdown-header\">Create</li>\n <li>\n <a href=\"/recipes/new\">\n New Recipe\n</a> </li>\n <li class=\"divider\"></li>\n <li>\n <a href=\"/recipes\">All recipes</a>\n </li>\n </ul> \n <li class=\"dropdown\"><a data-toggle=\"dropdown\" href=\"#\">\n Workouts <b class=\"caret\"></b>\n</a> <ul class=\"dropdown-menu\">\n <li><a href=\"/workouts\">Workout plans</a></li>\n <li><a href=\"/workouts/new\">New Workout plan</a></li>\n <li><a href=\"/dashboard/index.980190963\">Dashboard</a></li>\n </ul>\n <li class=\"dropdown\"><a data-toggle=\"dropdown\" href=\"#\">\n MYSTRING <b class=\"caret\"></b>\n</a> <ul class=\"dropdown-menu\">\n <li><a rel=\"nofollow\" data-method=\"delete\" href=\"/users/sign_out\">Sign out</a></li>\n <li><a href=\"/users/edit\">Edit Account</a></li>\n <li class=\"\">\n <a href=\"/mailbox/inbox\">\n <span class=\"label label-danger pull-right\">0</span>\n <em class=\"fa fa-inbox fa-lg\"></em>\n <span>Inbox</span>\n</a> </li>\n <li><a href=\"/users/980190963\">Your Home Page</a></li>\n <li><a href=\"/users/980190963/exercises/new\">Log a Workout</a></li>\n <li><a href=\"/users/980190963/bodyweights/new\">Measurements</a></li>\n </ul>\n <ul>\n </ul>\n </ul>\n </div>\n </div>\n </nav>\n</header>\n\n \n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class = \"col-md-10\">\n </div>\n</div>\n \n <div class=\"row\">\n <div class=\"alert alert-danger col-md-8 col-md-offset-2\">\n <h5>Please correct the following errors:</h5>\n <ul>\n <li>Summary is too short (minimum is 10 characters)</li>\n </ul>\n </div>\n </div>\n\n<div class=\"row\">\n <div class=\"well col-md-8 col-md-offset-2\">\n <form class=\"edit_recipe\" id=\"edit_recipe_980190962\" enctype=\"multipart/form-data\" action=\"/recipes/980190962\" accept-charset=\"UTF-8\" method=\"post\"><input name=\"utf8\" type=\"hidden\" value=\"✓\" /><input type=\"hidden\" name=\"_method\" value=\"patch\" />\n <label for=\"recipe_name\">Name</label>\n <input placeholder=\"Whats your masterpiece called?\" type=\"text\" value=\"This is a name\" name=\"recipe[name]\" id=\"recipe_name\" />\n \n <div class=\"field_with_errors\"><label for=\"recipe_summary\">Summary</label></div>\n <div class=\"field_with_errors\"><input placeholder=\"Short summary of the dish\" type=\"text\" value=\"MyText2\" name=\"recipe[summary]\" id=\"recipe_summary\" /></div>\n \n <div class=\"col-md-6 direction\">\n <label for=\"recipe_Ingredient\">Ingredient</label>\n <div class=\"links\">\n <a class=\"pull-right d-inline-block btn btn-primary add-button add_fields\" data-association=\"ingredient\" data-associations=\"ingredients\" data-association-insertion-template=\"\n <div class="nested-fields">\n <input type="text" name="recipe[ingredients_attributes][new_ingredients][name]" id="recipe_ingredients_attributes_new_ingredients_name" />\n <input type="hidden" name="recipe[ingredients_attributes][new_ingredients][_destroy]" id="recipe_ingredients_attributes_new_ingredients__destroy" value="false" /><a class="pull-left d-inline-block form-button btn btn-warning remove_fields dynamic" href="#">Remove</a>\n </div>\n\" href=\"#\">Add Ingredient</a>\n </div>\n </br>\n </br> \n \n </div>\n \n <div class=\"col-md-6 direction\">\n \n <label for=\"recipe_Directions\">Directions</label>\n <div class=\"links\">\n <a class=\"pull-right d-inline-block btn btn-primary add-button add_fields\" data-association=\"direction\" data-associations=\"directions\" data-association-insertion-template=\"<div class="nested-fields">\n <input type="text" name="recipe[directions_attributes][new_directions][step]" id="recipe_directions_attributes_new_directions_step" />\n <input type="hidden" name="recipe[directions_attributes][new_directions][_destroy]" id="recipe_directions_attributes_new_directions__destroy" value="false" /><a class="pull-left d-inline-block form-button btn btn-warning remove_fields dynamic" href="#">Remove</a>\n</div>\n\" href=\"#\">Add Step</a>\n </div>\n </br>\n </br>\n </div>\n \n <label for=\"recipe_Notes\">Notes</label>\n <textarea rows=\"10\" placeholder=\"Example: any notes you want to add\" name=\"recipe[description]\" id=\"recipe_description\">\nMyText</textarea>\n </br>\n </br>\n <strong>Styles: </strong>\n <input type=\"hidden\" name=\"recipe[style_ids][]\" value=\"\" /> <br>\n <br>\n <strong>Feeds: </strong>\n <input type=\"hidden\" name=\"recipe[feed_ids][]\" value=\"\" /> <br>\n <br>\n <strong>Preptime: </strong>\n <input type=\"hidden\" name=\"recipe[preptime_ids][]\" value=\"\" /> <br>\n <br>\n <strong>Calories: </strong>\n\n <br>\n <br>\n \n <strong>Upload image: </strong>\n <span class=\"picture\">\n
<input accept=\"image/jpeg,image/gif,imgage/png\" type=\"file\" name=\"recipe[picture]\" id=\"recipe_picture\" />\n </span>\n <br>\n <input type=\"submit\" name=\"commit\" value=\"Edit Recipe\" class=\"btn btn-success\" />\n</form> </div> \n</div>\n\n\n<script type=\"text/javascript\">\n $('#recipe_picture').bind('change', function(){\n size_in_megabytes =this.files[0].size/1024/1024;\n if (size_in_megabytes > 5) {\n alert(\"Maximum file size is 5MB. Please use a smaller file\")\n }\n });\n</script>\n </div>\n \n \n<footer class=\"footer-distributed\">\n<div class=\"footer-left\"> \n <h3>A & K Labs</h3> \n <p class=\"footer-links\">\n <a href=\"/\">Home</a>\n <a href=\"https://aandklabs.com/blogs/news\">Blog</a>\n <a href=\"http://www.aandklabs.com/\">Supplement Store</a> \n <a href=\"/about\">About</a>\n <a href=\"/faq\">FAQ's</a>\n</p>\n\n <div class=\"footer-icons\">\n <a href=\"https://www.facebook.com/AandKLAB/\"><i class=\"fa fa-facebook\"></i></a> \n <a href=\"https://twitter.com/AandK_Labs/\"><i class=\"fa fa-twitter\"></i></a> \n <a href=\"https://www.pinterest.com/ak_labs/\"><i class=\"fa fa-pinterest\"></i></a>\n <a href=\"https://plus.google.com/u/0/111049496295760161741\"><i class=\"fa fa-google-plus\"></i></a>\n <a href=\"#\"><i class=\"fa fa-instagram\"></i></a>\n </div> \n<p class=\"footer-company-name\">A & K LABS © 2017</p> \n</div>\n</footer>\n\n \n </body>\n</html>"], @closed=false>, @header={"X-Frame-Options"=>"SAMEORIGIN", "X-XSS-Protection"=>"1; mode=block", "X-Content-Type-Options"=>"nosniff", "Content-Type"=>"text/html; charset=utf-8"}, @status=200, @sending_file=false, @blank=false, @cv=#<MonitorMixin::ConditionVariable:0x00000005a08098 @monitor=#<ActionDispatch::Response:0x00000005a1b058 ...>, @cond=#<Thread::ConditionVariable:0x000000059ffba0>>, @committed=false, @sending=false, @sent=false, @content_type="text/html", @charset="utf-8", @cache_control={}, @etag=nil, @request=#<ActionDispatch::Request:0x00000005a10f40 @env={"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x000000061b9c88>, "rack.errors"=>#<StringIO:0x000000066a5198>, "rack.multithread"=>false, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"PATCH", "SERVER_NAME"=>"www.example.com", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/recipes/980190962", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"163", "rack.test"=>true, "REMOTE_ADDR"=>"127.0.0.1", "REQUEST_URI"=>"/recipes/980190962", "HTTP_HOST"=>"www.example.com:80", "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "HTTP_ACCEPT"=>"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5", "HTTP_COOKIE"=>"", "ORIGINAL_FULLPATH"=>"/recipes/980190962", "ORIGINAL_SCRIPT_NAME"=>"", "action_dispatch.routes"=>#<ActionDispatch::Routing::RouteSet:0x000000059060f0>, "action_dispatch.parameter_filter"=>[:password], "action_dispatch.redirect_filter"=>[], "action_dispatch.secret_token"=>nil, "action_dispatch.secret_key_base"=>"2963815850e6542bbdefa7981fe9ded6cbc4076ed3ff551c4806f23921c625f54a6484dcbe1c682716c41ae743f6de714c1574421daa53bc91f54e2bab72dd76", "action_dispatch.show_exceptions"=>false, "action_dispatch.show_detailed_exceptions"=>true, "action_dispatch.logger"=>#<ActiveSupport::Logger:0x00000005984090 @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0x00000005984018 @datetime_format=nil>, @formatter=#<ActiveSupport::Logger::SimpleFormatter:0x00000005811d48 @datetime_format=nil>, @logdev=#<Logger::LogDevice:0x00000003683f28 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<File:/home/ubuntu/workspace/log/test.log>, @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x00000003683f00>>>, "action_dispatch.backtrace_cleaner"=>#<Rails::BacktraceCleaner:0x00000006096f68 @filters=[#<Proc:0x00000006096e50@/usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/backtrace_cleaner.rb:14>, #<Proc:0x00000006096e28@/usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/backtrace_cleaner.rb:15>, #<Proc:0x00000006096e00@/usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/backtrace_cleaner.rb:16>, #<Proc:0x00000006096a40@/usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/backtrace_cleaner.rb:29>], @silencers=[#<Proc:0x00000006096a18@/usr/local/rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/backtrace_cleaner.rb:19>], @root="/home/ubuntu/workspace/">, "action_dispatch.key_generator"=>#<ActiveSupport::CachingKeyGenerator:0x0000000661bd30 @key_generator=#<ActiveSupport::KeyGenerator:0x0000000661bd58 @secret="2963815850e6542bbdefa7981fe9ded6cbc4076ed3ff551c4806f23921c625f54a6484dcbe1c682716c41ae743f6de714c1574421daa53bc91f54e2bab72dd76", @iterations=1000>, @cache_keys=#<ThreadSafe::Cache:0x0000000661bd08 @backend={"signed_global_ids64"=>"\xC8f\xFD\xBA\x9BM5\xA08\xD0!\xBE\xA2\xE6\xCB\xA6\x84\xC9N$\xFE\xAA\xE5\ae\xCFShc\x7F\x1FA\xAF\x14h\x8B[#\xA4R)\x19\xEF\x13Yg\x8F\x18\x90\xBDg\e/\xEA\x86\xC4\xBE\x18\x11T\xB1\xDF\x92>", "encrypted cookie64"=>"<\xCC\xC8\xB4\x19\x0E\xF9\xEF\bx\xAF\x13\xD5\x9D\xDD#U\x95\xAB\xF4M>\"1m\xC4d\x81\xE9\xB73R2F\ad\xAC\xA5\xD9\xFB\x8FD5~h\x89\xBD^\x88\xDC\xB8\x00\x1A6\x97T\xA4\xFC3/\xA7f7\x9F", "signed encrypted cookie64"=>"u\xE9\x8Ea\xB6\xD93\xD93S\xB8\xEA\x0E\x9D~AqN\b\x18&\x81\x86\xB7\"!\xA1\xE1\x96\x82L?\xD9W\xFD\xCFX\xC4\xAB\x8C\x06\xB1F>bB\xB9\x8E\xBC/\xDEy]?|\xD1\r\x19\x04\x99\x91]\xA8\xFA"}, @default_proc=nil>>, "action_dispatch.http_auth_salt"=>"http authentication", "action_dispatch.signed_cookie_salt"=>"signed cookie", "action_dispatch.encrypted_cookie_salt"=>"encrypted cookie", "action_dispatch.encrypted_signed_cookie_salt"=>"signed encrypted cookie", "action_dispatch.cookies_serializer"=>:json, "action_dispatch.cookies_digest"=>nil, "ROUTES_46674040_SCRIPT_NAME"=>"", "action_dispatch.request_id"=>"77a8027b-dafa-4003-986a-1973d40a6059", "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::GetIp:0x000000033ab260 @env={...}, @check_ip=true, @proxies=[#<IPAddr: IPv4:127.0.0.1/255.255.255.255>, #<IPAddr: IPv6:0000:0000:0000:0000:0000:0000:0000:0001/ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff>, #<IPAddr: IPv6:fc00:0000:0000:0000:0000:0000:0000:0000/fe00:0000:0000:0000:0000:0000:0000:0000>, #<IPAddr: IPv4:10.0.0.0/255.0.0.0>, #<IPAddr: IPv4:172.16.0.0/255.240.0.0>, #<IPAddr: IPv4:192.168.0.0/255.255.0.0>], @ip="127.0.0.1">, "rack.session"=>#<ActionDispatch::Request::Session:0x00000005a81240 @by=#<ActionDispatch::Session::CookieStore:0x0000000602aac0 @app=#<ActionDispatch::Flash:0x0000000602aae8 @app=#<ActionDispatch::ParamsParser:0x0000000602abb0 @app=#<Rack::Head:0x0000000602abd8 @app=#<Rack::ConditionalGet:0x0000000602ac00 @app=#<Rack::ETag:0x0000000602ac28 @app=#<Warden::Manager:0x0000000602acf0 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#<Devise::Delegator:0x0000000665f300>}, @app=#<OmniAuth::Strategies::Twitter>>, @cache_control="max-age=0, private, must-revalidate", @no_cache_control="no-cache">>>, @parsers={#<Mime::Type:0x0000000395f120 @synonyms=["text/x-json", "application/jsonrequest"], @symbol=:json, @string="application/json">=>:json}>>, @default_options={:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false}, @key="_workspace_session", @cookie_only=true>, @env={...}, @delegate={"session_id"=>"12e25049f4b3168a0e27c63f60fbb217", "warden.user.user.key"=>[[980190963], ""]}, @loaded=true, @exists=nil>, "rack.session.options"=>#<ActionDispatch::Request::Session::Options:0x00000005357f50 @by=#<ActionDispatch::Session::CookieStore:0x0000000602aac0 @app=#<ActionDispatch::Flash:0x0000000602aae8 @app=#<ActionDispatch::ParamsParser:0x0000000602abb0 @app=#<Rack::Head:0x0000000602abd8 @app=#<Rack::ConditionalGet:0x0000000602ac00 @app=#<Rack::ETag:0x0000000602ac28 @app=#<Warden::Manager:0x0000000602acf0 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#<Devise::Delegator:0x0000000665f300>}, @app=#<OmniAuth::Strategies::Twitter>>, @cache_control="max-age=0, private, must-revalidate", @no_cache_control="no-cache">>>, @parsers={#<Mime::Type:0x0000000395f120 @synonyms=["text/x-json", "application/jsonrequest"], @symbol=:json, @string="application/json">=>:json}>>, @default_options={:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false}, @key="_workspace_session", @cookie_only=true>, @env={...}, @delegate={:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>true, :id=>"12e25049f4b3168a0e27c63f60fbb217"}>, "action_dispatch.request.content_type"=>#<Mime::Type:0x0000000395f440 @synonyms=[], @symbol=:url_encoded_form, @string="application/x-www-form-urlencoded">, "rack.request.cookie_hash"=>{}, "rack.request.cookie_string"=>"", "action_dispatch.cookies"=>#<ActionDispatch::Cookies::CookieJar:0x00000006235b30 @key_generator=#<ActiveSupport::CachingKeyGenerator:0x0000000661bd30 @key_generator=#<ActiveSupport::KeyGenerator:0x0000000661bd58 @secret="2963815850e6542bbdefa7981fe9ded6cbc4076ed3ff551c4806f23921c625f54a6484dcbe1c682716c41ae743f6de714c1574421daa53bc91f54e2bab72dd76", @iterations=1000>, @cache_keys=#<ThreadSafe::Cache:0x0000000661bd08 @backend={"signed_global_ids64"=>"\xC8f\xFD\xBA\x9BM5\xA08\xD0!\xBE\xA2\xE6\xCB\xA6\x84\xC9N$\xFE\xAA\xE5\ae\xCFShc\x7F\x1FA\xAF\x14h\x8B[#\xA4R)\x19\xEF\x13Yg\x8F\x18\x90\xBDg\e/\xEA\x86\xC4\xBE\x18\x11T\xB1\xDF\x92>", "encrypted cookie64"=>"<\xCC\xC8\xB4\x19\x0E\xF9\xEF\bx\xAF\x13\xD5\x9D\xDD#U\x95\xAB\xF4M>\"1m\xC4d\x81\xE9\xB73R2F\ad\xAC\xA5\xD9\xFB\x8FD5~h\x89\xBD^\x88\xDC\xB8\x00\x1A6\x97T\xA4\xFC3/\xA7f7\x9F", "signed encrypted cookie64"=>"u\xE9\x8Ea\xB6\xD93\xD93S\xB8\xEA\x0E\x9D~AqN\b\x18&\x81\x86\xB7\"!\xA1\xE1\x96\x82L?\xD9W\xFD\xCFX\xC4\xAB\x8C\x06\xB1F>bB\xB9\x8E\xBC/\xDEy]?|\xD1\r\x19\x04\x99\x91]\xA8\xFA"}, @default_proc=nil>>, @set_cookies={}, @delete_cookies={}, @host="www.example.com", @secure=false, @options={:signed_cookie_salt=>"signed cookie", :encrypted_cookie_salt=>"encrypted cookie", :encrypted_signed_cookie_salt=>"signed encrypted cookie", :secret_token=>nil, :secret_key_base=>"2963815850e6542bbdefa7981fe9ded6cbc4076ed3ff551c4806f23921c625f54a6484dcbe1c682716c41ae743f6de714c1574421daa53bc91f54e2bab72dd76", :upgrade_legacy_signed_cookies=>false, :serializer=>:json, :digest=>nil}, @cookies={}, @committed=false, @encrypted=#<ActionDispatch::Cookies::EncryptedCookieJar:0x000000068bde58 @parent_jar=#<ActionDispatch::Cookies::CookieJar:0x00000006235b30 ...>, @options={:signed_cookie_salt=>"signed cookie", :encrypted_cookie_salt=>"encrypted cookie", :encrypted_signed_cookie_salt=>"signed encrypted cookie", :secret_token=>nil, :secret_key_base=>"2963815850e6542bbdefa7981fe9ded6cbc4076ed3ff551c4806f23921c625f54a6484dcbe1c682716c41ae743f6de714c1574421daa53bc91f54e2bab72dd76", :upgrade_legacy_signed_cookies=>false, :serializer=>:json, :digest=>nil}, @encryptor=#<ActiveSupport::MessageEncryptor:0x0000000628c868 @secret="<\xCC\xC8\xB4\x19\x0E\xF9\xEF\bx\xAF\x13\xD5\x9D\xDD#U\x95\xAB\xF4M>\"1m\xC4d\x81\xE9\xB73R2F\ad\xAC\xA5\xD9\xFB\x8FD5~h\x89\xBD^\x88\xDC\xB8\x00\x1A6\x97T\xA4\xFC3/\xA7f7\x9F", @sign_secret="u\xE9\x8Ea\xB6\xD93\xD93S\xB8\xEA\x0E\x9D~AqN\b\x18&\x81\x86\xB7\"!\xA1\xE1\x96\x82L?\xD9W\xFD\xCFX\xC4\xAB\x8C\x06\xB1F>bB\xB9\x8E\xBC/\xDEy]?|\xD1\r\x19\x04\x99\x91]\xA8\xFA", @cipher="aes-256-cbc", @verifier=#<ActiveSupport::MessageVerifier:0x00000005a94b60 @secret="u\xE9\x8Ea\xB6\xD93\xD93S\xB8\xEA\x0E\x9D~AqN\b\x18&\x81\x86\xB7\"!\xA1\xE1\x96\x82L?\xD9W\xFD\xCFX\xC4\xAB\x8C\x06\xB1F>bB\xB9\x8E\xBC/\xDEy]?|\xD1\r\x19\x04\x99\x91]\xA8\xFA", @digest="SHA1", @serializer=ActiveSupport::MessageEncryptor::NullSerializer>, @serializer=ActiveSupport::MessageEncryptor::NullSerializer>>, @signed_or_encrypted=#<ActionDispatch::Cookies::EncryptedCookieJar:0x000000068bde58 @parent_jar=#<ActionDispatch::Cookies::CookieJar:0x00000006235b30 ...>, @options={:signed_cookie_salt=>"signed cookie", :encrypted_cookie_salt=>"encrypted cookie", :encrypted_signed_cookie_salt=>"signed encrypted cookie", :secret_token=>nil, :secret_key_base=>"2963815850e6542bbdefa7981fe9ded6cbc4076ed3ff551c4806f23921c625f54a6484dcbe1c682716c41ae743f6de714c1574421daa53bc91f54e2bab72dd76", :upgrade_legacy_signed_cookies=>false, :serializer=>:json, :digest=>nil}, @encryptor=#<ActiveSupport::MessageEncryptor:0x0000000628c868 @secret="<\xCC\xC8\xB4\x19\x0E\xF9\xEF\bx\xAF\x13\xD5\x9D\xDD#U\x95\xAB\xF4M>\"1m\xC4d\x81\xE9\xB73R2F\ad\xAC\xA5\xD9\xFB\x8FD5~h\x89\xBD^\x88\xDC\xB8\x00\x1A6\x97T\xA4\xFC3/\xA7f7\x9F", @sign_secret="u\xE9\x8Ea\xB6\xD93\xD93S\xB8\xEA\x0E\x9D~AqN\b\x18&\x81\x86\xB7\"!\xA1\xE1\x96\x82L?\xD9W\xFD\xCFX\xC4\xAB\x8C\x06\xB1F>bB\xB9\x8E\xBC/\xDEy]?|\xD1\r\x19\x04\x99\x91]\xA8\xFA", @cipher="aes-256-cbc", @verifier=#<ActiveSupport::MessageVerifier:0x00000005a94b60 @secret="u\xE9\x8Ea\xB6\xD93\xD93S\xB8\xEA\x0E\x9D~AqN\b\x18&\x81\x86\xB7\"!\xA1\xE1\x96\x82L?\xD9W\xFD\xCFX\xC4\xAB\x8C\x06\xB1F>bB\xB9\x8E\xBC/\xDEy]?|\xD1\r\x19\x04\x99\x91]\xA8\xFA", @digest="SHA1", @serializer=ActiveSupport::MessageEncryptor::NullSerializer>, @serializer=ActiveSupport::MessageEncryptor::NullSerializer>>>, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"12e25049f4b3168a0e27c63f60fbb217"}, "warden"=>Warden::Proxy:43594380 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#<Devise::Delegator:0x0000000665f300>}, "action_dispatch.request.path_parameters"=>{:controller=>"recipes", :action=>"update", :id=>"980190962"}, "action_controller.instance"=>#<RecipesController:0x00000005a12638 @_action_has_layout=true, @_routes=nil, @_headers={"Content-Type"=>"text/html"}, @_status=200, @_request=#<ActionDispatch::Request:0x00000005a10f40 ...>, @_response=#<ActionDispatch::Response:0x00000005a1b058 ...>, @_env={...}, @_lookup_context=#<ActionView::LookupContext:0x000000059fab78 @details_key=#<ActionView::LookupContext::DetailsKey:0x0000000519dfe8 @hash=2885651462423917262>, @details={:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]}, @skip_default_locale=false, @cache=true, @prefixes=["recipes", "application"], @rendered_format=:html, @view_paths=#<ActionView::PathSet:0x000000059f94f8 @paths=[#<ActionView::OptimizedFileSystemResolver:0x000000060e72d8 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x000000060e6518 @data=#<ActionView::Resolver::Cache::SmallCache:0x000000060e60b8 @backend={#<ActionView::LookupContext::DetailsKey:0x0000000519dfe8 @hash=2885651462423917262>=>#<ActionView::Resolver::Cache::SmallCache:0x00000005183e18 @backend={"edit"=>#<ActionView::Resolver::Cache::SmallCache:0x00000005180240 @backend={"recipes"=>#<ActionView::Resolver::Cache::SmallCache:0x00000005178e50 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x000000051758b8 @backend={[]=>[app/views/recipes/edit.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>, "recipes"=>#<ActionView::Resolver::Cache::SmallCache:0x000000050da8b8 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x000000050e70b8 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x000000050d3ec8 @backend={[]=>[]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>, "application"=>#<ActionView::Resolver::Cache::SmallCache:0x00000003cf6dd8 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x00000003cd9ee0 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x00000003cbfbf8 @backend={[]=>[app/views/layouts/application.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>, "form"=>#<ActionView::Resolver::Cache::SmallCache:0x0000000383a4e8 @backend={"recipes"=>#<ActionView::Resolver::Cache::SmallCache:0x00000003821948 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x0000000380d290 @backend={[]=>[app/views/recipes/_form.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>, "errors"=>#<ActionView::Resolver::Cache::SmallCache:0x000000032ca260 @backend={"shared"=>#<ActionView::Resolver::Cache::SmallCache:0x000000032bc070 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x000000032a4718 @backend={["obj"]=>[app/views/shared/_errors.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>, "ingredient_fields"=>#<ActionView::Resolver::Cache::SmallCache:0x00000005542400 @backend={"recipes"=>#<ActionView::Resolver::Cache::SmallCache:0x0000000553f110 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x0000000553c0a0 @backend={["dynamic", "f"]=>[app/views/recipes/_ingredient_fields.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>, "direction_fields"=>#<ActionView::Resolver::Cache::SmallCache:0x00000006746930 @backend={"recipes"=>#<ActionView::Resolver::Cache::SmallCache:0x0000000674eba8 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x0000000673b058 @backend={["dynamic", "f"]=>[app/views/recipes/_direction_fields.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>, "navigation2"=>#<ActionView::Resolver::Cache::SmallCache:0x00000001fd7978 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x00000001fbeb30 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x00000001f950c8 @backend={[]=>[app/views/layouts/_navigation2.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>, "messages"=>#<ActionView::Resolver::Cache::SmallCache:0x00000003a8ced0 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x00000003a79b78 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x00000003a676d0 @backend={[]=>[app/views/layouts/_messages.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>, "footer"=>#<ActionView::Resolver::Cache::SmallCache:0x000000036f7ce8 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x000000036e34c8 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x000000036cf810 @backend={[]=>[app/views/layouts/_footer.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x00000003386c58@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:48 (lambda)>>}, @default_proc=#<Proc:0x00000003386c30@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:49 (lambda)>>>, @path="/home/ubuntu/workspace/app/views">, #<ActionView::OptimizedFileSystemResolver:0x0000000610b1d8 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x0000000610a878 @data=#<ActionView::Resolver::Cache::SmallCache:0x0000000610a5f8 @backend={#<ActionView::LookupContext::DetailsKey:0x0000000519dfe8 @hash=2885651462423917262>=>#<ActionView::Resolver::Cache::SmallCache:0x00000003598d20 @backend={"recipes"=>#<ActionView::Resolver::Cache::SmallCache:0x00000003e23300 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x00000003e19a08 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x00000003e07830 @backend={[]=>[]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x00000003386c58@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:48 (lambda)>>}, @default_proc=#<Proc:0x00000003386c30@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:49 (lambda)>>>, @path="/usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.2.1/app/views">, #<ActionView::OptimizedFileSystemResolver:0x000000060fe258 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x000000060fd7b8 @data=#<ActionView::Resolver::Cache::SmallCache:0x000000060fd538 @backend={#<ActionView::LookupContext::DetailsKey:0x0000000519dfe8 @hash=2885651462423917262>=>#<ActionView::Resolver::Cache::SmallCache:0x00000003da7840 @backend={"recipes"=>#<ActionView::Resolver::Cache::SmallCache:0x00000003d93728 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x00000003d88a58 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x00000003d6cdf8 @backend={[]=>[]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x00000003386c58@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:48 (lambda)>>}, @default_proc=#<Proc:0x00000003386c30@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:49 (lambda)>>>, @path="/usr/local/rvm/gems/ruby-2.3.0/gems/mailboxer-0.14.0/app/views">]>>, @_action_name="update", @_response_body=["<!DOCTYPE html>\n<html>\n <head>\n <title>Edit a Recipe | FitnessLabs (A & K LABS)</title>\n <link rel=\"stylesheet\" media=\"all\" href=\"/assets/application-258ce3df68c253b6d459077f5e4355d77d7fd920b5dc4f8ae246fe3c79e23d5f.css\" data-turbolinks-track=\"true\" />\n <script src=\"/assets/application-1925fe93b71d5dc265e512e9885e5f22bc7f567236607aa5e3febcf57e6fd6cf.js\" data-turbolinks-track=\"true\"></script>\n \n \n <link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/assets/logo-d316bd1c8d0432e29df74b877328ba111e5c06bfaf8b8d95d5c8e704be7173f7.ico\" />\n <link href=\"https://fonts.googleapis.com/css?family=Doppio+One|Pacifico\" rel=\"stylesheet\">\n <!--<script src=\"//load.sumome.com/\" data-sumo-site-id=\"c5bf8251f90d125ef3264df7e976b4ab5a4a5a380ab1deaec05444284b2169d0\" async=\"async\"></script>-->\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n </head>\n <body>\n \n <header role=\"banner\">\n <nav class=\"navbar navbar-inverse navbar-fixed-top\">\n <div class=\"container-fluid sloppy-fix\">\n <div class=\"navbar-header\">\n <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\"\n data-target=\"#bs-example-navbar-collapse-1\">\n <span class=\"icon-bar\"></span>\n <span class=\"icon-bar\"></span>\n <span class=\"icon-bar\"></span>\n </button>\n <div id=\"logo\">\n <a class=\"btn btn-default btn-success\" id=\"logo\" href=\"/\">\n FitnessLab <i class=\"fa fa-cutlery\" aria-hidden=\"true\"></i>\n</a> </div>\n </div>\n <div class=\"navbar-collapse collapse\" id=\"bs-example-navbar-collapse-1\" >\n <ul class=\"nav navbar-nav\" >\n <li class=\"active\" ><a href=\"/\">Home</a>\n <span class=\"sr-only\">(current)</span>\n </li>\n </ul>\n <form class=\"navbar-form\" role=\"search\" id=\"search\" action=\"/dashboard/search\" accept-charset=\"UTF-8\" method=\"post\"><input name=\"utf8\" type=\"hidden\" value=\"✓\" />\n <div class=\"form-group\">\n <input type=\"text\" name=\"search_name\" id=\"search_name\" placeholder=\"Search for friends\" class=\"form-control\" />\n </div>\n <input type=\"submit\" name=\"commit\" value=\"Search\" class=\"btn btn-default\" id=\"search-button\" />\n</form> <ul class=\"nav navbar-nav navbar-right\">\n <li class=\"dropdown\"><a data-toggle=\"dropdown\" href=\"#\">\n Recipes <b class=\"caret\"></b>\n</a> <ul class=\"dropdown-menu\">\n <li class=\"dropdown-header\">Search by</li>\n <li class=\"dropdown-submenu\">\n <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Styles</a>\n <ul class=\"dropdown-menu\">\n <li class=\"divider\"></li>\n <li>\n <a href=\"/styles/new\">\n New Style\n</a> </li>\n </li>\n </ul>\n \n <li class=\"divider\"></li>\n <li class=\"dropdown-submenu\">\n <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Feeds</a>\n <ul class=\"dropdown-menu\">\n <li class=\"divider\"></li>\n <li>\n <a href=\"/feeds/new\">\n New Feeds\n</a> </li>\n </li>\n </ul>\n <li class=\"divider\"></li>\n <li class=\"dropdown-submenu\">\n <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Preptime</a>\n <ul class=\"dropdown-menu\">\n <li class=\"divider\"></li>\n <li>\n <a href=\"/preptimes/new\">\n New preptime\n</a> </li>\n </li>\n </ul>\n <li class=\"divider\"></li>\n <li class=\"dropdown-header\">Create</li>\n <li>\n <a href=\"/recipes/new\">\n New Recipe\n</a> </li>\n <li class=\"divider\"></li>\n <li>\n <a href=\"/recipes\">All recipes</a>\n </li>\n </ul> \n <li class=\"dropdown\"><a data-toggle=\"dropdown\" href=\"#\">\n Workouts <b class=\"caret\"></b>\n</a> <ul class=\"dropdown-menu\">\n <li><a href=\"/workouts\">Workout plans</a></li>\n <li><a href=\"/workouts/new\">New Workout plan</a></li>\n <li><a href=\"/dashboard/index.980190963\">Dashboard</a></li>\n </ul>\n <li class=\"dropdown\"><a data-toggle=\"dropdown\" href=\"#\">\n MYSTRING <b class=\"caret\"></b>\n</a> <ul class=\"dropdown-menu\">\n <li><a rel=\"nofollow\" data-method=\"delete\" href=\"/users/sign_out\">Sign out</a></li>\n <li><a href=\"/users/edit\">Edit Account</a></li>\n <li class=\"\">\n <a href=\"/mailbox/inbox\">\n <span class=\"label label-danger pull-right\">0</span>\n <em class=\"fa fa-inbox fa-lg\"></em>\n <span>Inbox</span>\n</a> </li>\n <li><a href=\"/users/980190963\">Your Home Page</a></li>\n <li><a href=\"/users/980190963/exercises/new\">Log a Workout</a></li>\n <li><a href=\"/users/980190963/bodyweights/new\">Measurements</a></li>\n </ul>\n <ul>\n </ul>\n </ul>\n </div>\n </div>\n </nav>\n</header>\n\n \n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class = \"col-md-10\">\n </div>\n</div>\n \n <div class=\"row\">\n <div class=\"alert alert-danger col-md-8 col-md-offset-2\">\n <h5>Please correct the following errors:</h5>\n <ul>\n <li>Summary is too short (minimum is 10 characters)</li>\n </ul>\n </div>\n </div>\n\n<div class=\"row\">\n <div class=\"well col-md-8 col-md-offset-2\">\n <form class=\"edit_recipe\" id=\"edit_recipe_980190962\" enctype=\"multipart/form-data\" action=\"/recipes/980190962\" accept-charset=\"UTF-8\" method=\"post\"><input name=\"utf8\" type=\"hidden\" value=\"✓\" /><input type=\"hidden\" name=\"_method\" value=\"patch\" />\n <label for=\"recipe_name\">Name</label>\n <input placeholder=\"Whats your masterpiece called?\" type=\"text\" value=\"This is a name\" name=\"recipe[name]\" id=\"recipe_name\" />\n \n <div class=\"field_with_errors\"><label for=\"recipe_summary\">Summary</label></div>\n <div class=\"field_with_errors\"><input placeholder=\"Short summary of the dish\" type=\"text\" value=\"MyText2\" name=\"recipe[summary]\" id=\"recipe_summary\" /></div>\n \n <div class=\"col-md-6 direction\">\n <label for=\"recipe_Ingredient\">Ingredient</label>\n <div class=\"links\">\n <a class=\"pull-right d-inline-block btn btn-primary add-button add_fields\" data-association=\"ingredient\" data-associations=\"ingredients\" data-association-insertion-template=\"\n <div class="nested-fields">\n <input type="text" name="recipe[ingredients_attributes][new_ingredients][name]" id="recipe_ingredients_attributes_new_ingredients_name" />\n <input type="hidden" name="recipe[ingredients_attributes][new_ingredients][_destroy]" id="recipe_ingredients_attributes_new_ingredients__destroy" value="false" /><a class="pull-left d-inline-block form-button btn btn-warning remove_fields dynamic" href="#">Remove</a>\n </div>\n\" href=\"#\">Add Ingredient</a>\n </div>\n </br>\n </br> \n \n </div>\n \n <div class=\"col-md-6 direction\">\n \n <label for=\"recipe_Directions\">Directions</label>\n <div class=\"links\">\n <a class=\"pull-right d-inline-block btn btn-primary add-button add_fields\" data-association=\"direction\" data-associations=\"directions\" data-association-insertion-template=\"<div class="nested-fields">\n <input type="text" name="recipe[directions_attributes][new_directions][step]" id="recipe_directions_attributes_new_directions_step" />\n <input type="hidden" name="recipe[directions_attributes][new_directions][_destroy]" id="recipe_directions_attributes_new_directions__destroy" value="false" /><a class="pull-left d-inline-block form-button btn btn-warning remove_fields dynamic" href="#">Remove</a>\n</div>\n\" href=\"#\">Add Step</a>\n </div>\n </br>\n </br>\n </div>\n \n <label for=\"recipe_Notes\">Notes</label>\n <textarea rows=\"10\" placeholder=\"Example: any notes you want to add\" name=\"recipe[description]\" id=\"recipe_description\">\nMyText</textarea>\n </br>\n </br>\n <strong>Styles: </strong>\n <input type=\"hidden\" name=\"recipe[style_ids][]\" value=\"\" /> <br>\n <br>\n <strong>Feeds: </strong>\n <input type=\"hidden\" name=\"recipe[feed_ids][]\" value=\"\" /> <br>\n <br>\n <strong>Preptime: </strong>\n <input type=\"hidden\" name=\"recipe[preptime_ids][]\" value=\"\" /> <br>\n <br>\n <strong>Calories: </strong>\n\n <br>\n <br>\n \n <strong>Upload image: </strong>\n <span class=\"picture\">\n <input accept=\"image/jpeg,image/gif,imgage/png\" type=\"file\" name=\"recipe[picture]\" id=\"recipe_picture\" />\n </span>\n <br>\n <input type=\"submit\" name=\"commit\" value=\"Edit Recipe\" class=\"btn btn-success\" />\n</form> </div> \n</div>\n\n\n<script type=\"text/javascript\">\n $('#recipe_picture').bind('change', function(){\n size_in_megabytes =this.files[0].size/1024/1024;\n if (size_in_megabytes > 5) {\n alert(\"Maximum file size is 5MB. Please use a smaller file\")\n }\n });\n</script>\n </div>\n \n \n<footer class=\"footer-distributed\">\n<div class=\"footer-left\"> \n <h3>A & K Labs</h3> \n <p class=\"footer-links\">\n <a href=\"/\">Home</a>\n <a href=\"https://aandklabs.com/blogs/news\">Blog</a>\n <a href=\"http://www.aandklabs.com/\">Supplement Store</a> \n <a href=\"/about\">About</a>\n <a href=\"/faq\">FAQ's</a>\n</p>\n\n <div class=\"footer-icons\">\n <a href=\"https://www.facebook.com/AandKLAB/\"><i class=\"fa fa-facebook\"></i></a> \n <a href=\"https://twitter.com/AandK_Labs/\"><i class=\"fa fa-twitter\"></i></a> \n <a href=\"https://www.pinterest.com/ak_labs/\"><i class=\"fa fa-pinterest\"></i></a>\n <a href=\"https://plus.google.com/u/0/111049496295760161741\"><i class=\"fa fa-google-plus\"></i></a>\n <a href=\"#\"><i class=\"fa fa-instagram\"></i></a>\n </div> \n<p class=\"footer-company-name\">A & K LABS © 2017</p> \n</div>\n</footer>\n\n \n </body>\n</html>"], @marked_for_same_origin_verification=false, @_config={}, @current_user=#<User id: 980190963, username: "MYSTRING", email: "[email protected]", created_at: "2017-06-16 15:38:07", updated_at: "2017-06-16 16:00:56", first_name: nil, last_name: nil, admin: true, provider: nil, uid: nil>, @user=#<User id: 980190963, username: "MYSTRING", email: "[email protected]", created_at: "2017-06-16 15:38:07", updated_at: "2017-06-16 16:00:56", first_name: nil, last_name: nil, admin: true, provider: nil, uid: nil>, @_params={"recipe"=>{"servings_made"=>"10", "id"=>"980190962", "name"=>"This is a name", "summary"=>"MyText2", "description"=>"MyText", "prep_times"=>"0", "user_id"=>"1"}, "controller"=>"recipes", "action"=>"update", "id"=>"980190962"}, @recipe=#<Recipe id: 980190962, name: "This is a name", summary: "MyText2", description: "MyText", created_at: "2017-06-16 15:17:30", updated_at: "2017-06-16 15:17:30", picture: nil, user_id: 1, feeds: nil, prep_times: 0, servings_made: 10>, @_db_runtime=10.62725, @_view_renderer=#<ActionView::Renderer:0x000000052ad870 @lookup_context=#<ActionView::LookupContext:0x000000059fab78 @details_key=#<ActionView::LookupContext::DetailsKey:0x0000000519dfe8 @hash=2885651462423917262>, @details={:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]}, @skip_default_locale=false, @cache=true, @prefixes=["recipes", "application"], @rendered_format=:html, @view_paths=#<ActionView::PathSet:0x000000059f94f8 @paths=[#<ActionView::OptimizedFileSystemResolver:0x000000060e72d8 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x000000060e6518 @data=#<ActionView::Resolver::Cache::SmallCache:0x000000060e60b8 @backend={#<ActionView::LookupContext::DetailsKey:0x0000000519dfe8 @hash=2885651462423917262>=>#<ActionView::Resolver::Cache::SmallCache:0x00000005183e18 @backend={"edit"=>#<ActionView::Resolver::Cache::SmallCache:0x00000005180240 @backend={"recipes"=>#<ActionView::Resolver::Cache::SmallCache:0x00000005178e50 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x000000051758b8 @backend={[]=>[app/views/recipes/edit.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>, "recipes"=>#<ActionView::Resolver::Cache::SmallCache:0x000000050da8b8 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x000000050e70b8 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x000000050d3ec8 @backend={[]=>[]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>, "application"=>#<ActionView::Resolver::Cache::SmallCache:0x00000003cf6dd8 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x00000003cd9ee0 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x00000003cbfbf8 @backend={[]=>[app/views/layouts/application.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>, "form"=>#<ActionView::Resolver::Cache::SmallCache:0x0000000383a4e8 @backend={"recipes"=>#<ActionView::Resolver::Cache::SmallCache:0x00000003821948 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x0000000380d290 @backend={[]=>[app/views/recipes/_form.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>, "errors"=>#<ActionView::Resolver::Cache::SmallCache:0x000000032ca260 @backend={"shared"=>#<ActionView::Resolver::Cache::SmallCache:0x000000032bc070 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x000000032a4718 @backend={["obj"]=>[app/views/shared/_errors.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>, "ingredient_fields"=>#<ActionView::Resolver::Cache::SmallCache:0x00000005542400 @backend={"recipes"=>#<ActionView::Resolver::Cache::SmallCache:0x0000000553f110 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x0000000553c0a0 @backend={["dynamic", "f"]=>[app/views/recipes/_ingredient_fields.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>, "direction_fields"=>#<ActionView::Resolver::Cache::SmallCache:0x00000006746930 @backend={"recipes"=>#<ActionView::Resolver::Cache::SmallCache:0x0000000674eba8 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x0000000673b058 @backend={["dynamic", "f"]=>[app/views/recipes/_direction_fields.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>, "navigation2"=>#<ActionView::Resolver::Cache::SmallCache:0x00000001fd7978 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x00000001fbeb30 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x00000001f950c8 @backend={[]=>[app/views/layouts/_navigation2.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>, "messages"=>#<ActionView::Resolver::Cache::SmallCache:0x00000003a8ced0 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x00000003a79b78 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x00000003a676d0 @backend={[]=>[app/views/layouts/_messages.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>, "footer"=>#<ActionView::Resolver::Cache::SmallCache:0x000000036f7ce8 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x000000036e34c8 @backend={true=>#<ActionView::Resolver::Cache::SmallCache:0x000000036cf810 @backend={[]=>[app/views/layouts/_footer.html.erb]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x00000003386c58@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:48 (lambda)>>}, @default_proc=#<Proc:0x00000003386c30@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:49 (lambda)>>>, @path="/home/ubuntu/workspace/app/views">, #<ActionView::OptimizedFileSystemResolver:0x0000000610b1d8 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x0000000610a878 @data=#<ActionView::Resolver::Cache::SmallCache:0x0000000610a5f8 @backend={#<ActionView::LookupContext::DetailsKey:0x0000000519dfe8 @hash=2885651462423917262>=>#<ActionView::Resolver::Cache::SmallCache:0x00000003598d20 @backend={"recipes"=>#<ActionView::Resolver::Cache::SmallCache:0x00000003e23300 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x00000003e19a08 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x00000003e07830 @backend={[]=>[]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x00000003386c58@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:48 (lambda)>>}, @default_proc=#<Proc:0x00000003386c30@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:49 (lambda)>>>, @path="/usr/local/rvm/gems/ruby-2.3.0/gems/devise-4.2.1/app/views">, #<ActionView::OptimizedFileSystemResolver:0x000000060fe258 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x000000060fd7b8 @data=#<ActionView::Resolver::Cache::SmallCache:0x000000060fd538 @backend={#<ActionView::LookupContext::DetailsKey:0x0000000519dfe8 @hash=2885651462423917262>=>#<ActionView::Resolver::Cache::SmallCache:0x00000003da7840 @backend={"recipes"=>#<ActionView::Resolver::Cache::SmallCache:0x00000003d93728 @backend={"layouts"=>#<ActionView::Resolver::Cache::SmallCache:0x00000003d88a58 @backend={false=>#<ActionView::Resolver::Cache::SmallCache:0x00000003d6cdf8 @backend={[]=>[]}, @default_proc=nil>}, @default_proc=#<Proc:0x00000003386cf8@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:46 (lambda)>>}, @default_proc=#<Proc:0x00000003386cd0@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:47 (lambda)>>}, @default_proc=#<Proc:0x00000003386c58@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:48 (lambda)>>}, @default_proc=#<Proc:0x00000003386c30@/usr/local/rvm/gems/ruby-2.3.0/gems/actionview-4.2.5/lib/action_view/template/resolver.rb:49 (lambda)>>>, @path="/usr/local/rvm/gems/ruby-2.3.0/gems/mailboxer-0.14.0/app/views">]>>>, @_view_context_class=#<Class:0x000000052a7948>, @_url_options={:host=>"www.example.com", :port=>nil, :protocol=>"http://", :_recall=>{:controller=>"recipes", :action=>"update", :id=>"980190962"}}, @mailbox=#<Mailboxer::Mailbox:0x00000005eef3b8 @messageable=#<User id: 980190963, username: "MYSTRING", email: "[email protected]", created_at: "2017-06-16 15:38:07", updated_at: "2017-06-16 16:00:56", first_name: nil, last_name: nil, admin: true, provider: nil, uid: nil>>, @_searchkick_runtime=0, @_view_runtime=544.9214299610742>, "rack.request.form_hash"=>{"recipe"=>{"servings_made"=>"10", "id"=>"980190962", "name"=>"This is a name", "summary"=>"MyText2", "description"=>"MyText", "prep_times"=>"0", "user_id"=>"1"}}, "rack.request.form_vars"=>"recipe[servings_made]=10&recipe[id]=980190962&recipe[name]=This+is+a+name&recipe[summary]=MyText2&recipe[description]=MyText&recipe[prep_times]=0&recipe[user_id]=1", "rack.request.form_input"=>#<StringIO:0x000000061b9c88>, "action_dispatch.request.request_parameters"=>{"recipe"=>{"servings_made"=>"10", "id"=>"98019096
2", "name"=>"This is a name", "summary"=>"MyText2", "description"=>"MyText", "prep_times"=>"0", "user_id"=>"1"}}, "rack.request.query_string"=>"", "rack.request.query_hash"=>
{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"recipe"=>{"servings_made"=>"10", "id"=>"980190962", "name"=>"This is a name", "s
ummary"=>"MyText2", "description"=>"MyText", "prep_times"=>"0", "user_id"=>"1"}, "controller"=>"recipes", "action"=>"update", "id"=>"980190962"}, "action_dispatch.request.for
mats"=>[#<Mime::Type:0x000000039704c0 @synonyms=["application/xhtml+xml"], @symbol=:html, @string="text/html">], "action_dispatch.request.flash_hash"=>#<ActionDispatch::Flash
::Flas
hHash:0x00000003845168 @discard=#<Set: {}>, @flashes={}, @now=nil>}, @filtered_parameters={"recipe"=>{"servings_made"=>"10", "id"=>"980190962", "name"=>"This is a name", "su
mmary"=>"MyText2", "description"=>"MyText", "prep_times"=>"0", "user_id"=>"1"}, "controller"=>"recipes", "action"=>"update", "id"=>"980190962"}, @filtered_env=nil, @filtered_p
ath=nil, @protocol="http://", @port=80, @method=nil, @request_method="PATCH", @remote_ip="127.0.0.1", @original_fullpath=nil, @fullpath="/recipes/980190962", @ip=nil, @uuid=nil>>>]