Tweak with a local variable.
This commit is contained in:
parent
8de926bca9
commit
93a852c705
@ -1,5 +1,5 @@
|
|||||||
Bushido::Data.listen("app.claimed") do |data|
|
Bushido::Data.listen("app.claimed") do |data|
|
||||||
puts "Saving #{account.inspect} with incoming data #{data.inspect}"
|
puts "Saving #{Account.first.inspect} with incoming data #{data.inspect}"
|
||||||
|
|
||||||
account = Account.first
|
account = Account.first
|
||||||
account.email = data["email"]
|
account.email = data["email"]
|
||||||
|
Loading…
Reference in New Issue
Block a user