I am new in Ruby on Rails and i am using Ruby version 2.1.0 and Rails 4.0.2
My Query is:-
I want to call Model in initializers.
my Model file is setting.rb and Model name Setting. its location is app/model directory.
I want to call Setting Model in initializers file paypal.rb.
paypal.rb location is config/initializers/paypal.rb.
Please help how to call Model in initializers in Ruby on Rails.