Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgumentError (wrong number of arguments (0 for 1)) #3

Open
yashshah opened this issue Sep 23, 2013 · 1 comment
Open

ArgumentError (wrong number of arguments (0 for 1)) #3

yashshah opened this issue Sep 23, 2013 · 1 comment

Comments

@yashshah
Copy link

I implemented a small devise app using devise_sms_activable. I am using Rails 3.2.9 and Devise 3.1.0.

Here is my GitHub Respository: http://goo.gl/xp7lO1

I went through follow steps:

Added Devise Gem
Devise:install and Generated Devise on User Model
Generated Devise views
Added Sms activable Gem
Generate sms activable
Migrated User model
Added Phone field in Registration new views
Added Phone in attr accessible in User Model

But, i am getting the following error: http://goo.gl/7URT0c

I will really appreciate if someone can help me solving this problem.

@yashshah
Copy link
Author

I was able to overcome this problem by properly Auto loading lib.

But now, i am stuck at undefined method fail! (NoMethodError)

I am getting undefined method or variable fail! (NoMethodError). How can i access fail! in my helper method? I tried a lot to debug but i was not able to find any logic related to fail! in Devise code.

I will really appreciated if someone can help me fixing this error wrt Devise 3.1.0.

Here is the helper file: http://paste.kde.org/p8fecf169/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant