Sergio Cambra

Results 143 comments of Sergio Cambra

respond_with is a method from responders gem, what's the version of responders gem? is it the latest version?

Closing as it may be caused by custom code. @fedegl thanks for helping with the fix

@richardonrails your issue is different than this issue, it would be better to open new issue. Anyway, you can validate with accepting_invitation? so it's required only while accepting an invitation....

I'm open to change to independent model, with own table, with a polymorphic belongs_to to support adding invitable to multiple models. However, it isn't simple task, and I don't have...

I submitted a pull request which added support to set required_attributes. It was accepted, so you can set required_attributes and it should work without reflect_on_all_validations

Have you set required attributes in your class? The patch was a method to set required_attributes so reflect_on_all_validations won't be called. self.required_attributes = [:name]

I use it as a gem and I only add to config/enviroment.rb: config.gem 'globalize2', :lib => 'globalize'

It works to me, thanks!

Yes, I have been using my fork since I never got response

I will explain in more detail: I have a layout with render :activescaffold => :controller, :params => {:action => :new} to show a quick form to create a model. To...