| View previous topic :: View next topic |
| Author |
Message |
Akshay
Joined: 23 Oct 2009 Posts: 2
|
Posted: Fri Feb 26, 2010 5:29 am Post subject: uninitialized constant HomeController::Money |
|
|
hai developers
Iam integrating authorize.net payment gateway in my rails application, when i have giving credit card details and submit the details i have following error, already i have install gem named "money", but iam having following error.
uninitialized constant HomeController::Money
=============================
please solve the problem
thanks in advance
AK |
|
| Back to top |
|
 |
sharma I
Joined: 13 Jun 2008 Posts: 130
|
Posted: Mon Mar 01, 2010 6:27 am Post subject: |
|
|
Hai Akshay
if you have installed money gem, you need add a line i.e "require 'money'" in your working controller to avoid following error.
Ex:
require 'money'
class HomeController < ApplicationController
#here you need write your method
#def index
#end
end
thanks & regard |
|
| Back to top |
|
 |
|