Sergio Cambra

Results 143 comments of Sergio Cambra
trafficstars

If you try in development and check email on development.log, are underscores replaced with spaces?

Then it must be your mail client, I tried it and I couldn't reproduce it

DeviseInvitable controller doesn't change anything of mailer DeviseInvitable has a mailer module which is included on devise mailer, but it doesn't change any parameter: https://github.com/scambra/devise_invitable/blob/master/lib/devise_invitable/mailer.rb Also, if I save your...

Have changed the devise::mailer class?

Maybe torquebox is not initializing every gem, maybe you could add some require, I'm sorry not being more specific, I don't know torquebox.

I don't understand why you need that, @luisico I think it should work using Devise.mailer instead of Devise::Mailer. Have you changed mailer in devise initializer?

Yes, that's right. Devise.mailer is usually used to override devise mailer with a custom one which inherits from Devise::Mailer, include DeviseInvitable::Mailer in Devise::Mailer doesn't work for those custom mailers. Maybe...

DeviseInvitable generator inherits from Rails::Generators::NamedBase: https://github.com/scambra/devise_invitable/blob/master/lib/generators/devise_invitable/devise_invitable_generator.rb#L3 And migration uses table_name, which is set by Rails::Generators::NamedBase: https://github.com/scambra/devise_invitable/blob/master/lib/generators/active_record/templates/migration.rb#L3 Probably Rails::Generators::NamedBase doesn't work for STI models, because you usually doesn't use rails g...

No plan, I think nobody asks for that before

Bug fixes need a test case failing, can you write one?