Closed mraaroncruz closed 7 years ago
Crap, i think this breaks @fb_params
Nope, different error dealing with default args to quick_reply. False alarm. We good!
merge conflict because of code formating?
There you go. That was a good time 🎉
hmm I get an error with reply_message - any ideas?
NoMethodError (undefined method sender' for #<Hash:0x007f63d93fc2c8> Did you mean? send): lib/bot/base_bot_logic.rb:20:in
reply_message'
lib/bot/bot_logic.rb:20:in bot_logic' lib/bot/base_bot_logic.rb:207:in
handle_request'
app/bots/main.rb:7:in `block in <top (required)>'
Rendered /home/cemputer/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.9ms) Rendered /home/cemputer/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendered /home/cemputer/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /home/cemputer/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (14.4ms)
ahh guess I found the error nevermind
changes are great but I had problems with a bot I want to show tomorrow so I reverted it - will put it back soon!
Also updated rails to use the global
$bot
instead of class name