Open Patmando73 opened 9 years ago
User.find
.first
@
Needs more detail. E.g...
variable.slice(1..-1)
instance_variables = self.instance_variables
self.send
if value.is_a?(String)
User.find
to return one object. You shouldn't need to call.first
on it like you do here: https://github.com/Patmando73/-sinatra-Event-organizer/blob/master/controllers/users.rb#L19@
variable.)