Dynamic method calling in Ruby

is there any reason to ever use send? call needs a method object, send doesn’t: class Foo def method_missing(name) “#{name} called” end end Foo.new.send(:bar) #=> “bar called” Foo.new.method(:bar).call #=> undefined method `bar’ for class `Foo’ (NameError) is there any reason to ever use eval? eval evaluates arbitrary expressions, it’s not just for calling a method. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)