Object.const_get("User")
No need to require ActiveSupport.
More Related Contents:
- Reassigning the value of variables in Ruby?
- What is attr_accessor in Ruby?
- Ruby: String Comparison Issues
- Ruby 2.0.0p0 IRB warning: “DL is deprecated, please use Fiddle”
- How to get the name of the calling method?
- Why is `a = a` `nil` in Ruby?
- What exactly is `&:capitalize` in Ruby?
- Ruby’s File.open and the need for f.close
- Difference between map and collect in Ruby?
- What does __FILE__ mean in Ruby?
- How to check whether a string contains a substring in Ruby
- Find key/value pairs deep inside a hash containing an arbitrary number of nested hashes and arrays
- Set global default encoding for ruby 1.9
- Learning Insertion Sort in Ruby
- Can’t install RMagick 2.13.1. Can’t find MagickWand.h.
- Is there an inverse ‘member?’ method in ruby?
- Passing a method as a parameter in Ruby
- In Ruby, is there an Array method that combines ‘select’ and ‘map’?
- What does “
- List comprehension in Ruby
- Ruby factorial function
- How to understand the difference between class_eval() and instance_eval()?
- Read, edit, and write a text file line-wise using Ruby
- Ruby: filter array by regex?
- What is the best way to split a string to get all the substrings by Ruby?
- Insert digital signature into existing pdf file
- What will give me something like ruby readline with a default value?
- Is it possible to have class.property = x return something other than x?
- Functional code examples in ruby
- Read and write YAML files without destroying anchors and aliases?