devise_sms_activable icon indicating copy to clipboard operation
devise_sms_activable copied to clipboard

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

Open yashshah opened this issue 12 years ago • 1 comments

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 avatar Sep 23 '13 21:09 yashshah

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/

yashshah avatar Sep 24 '13 19:09 yashshah