Ronald Chan
Ronald Chan
If you are looking by IP, it would probably work better to create a new "failed IPs" table, rather than doing it by user account, which has limitations such as...
There is no screen to change email in devise. But I hooked up another screen to change the email, using a devise function: resource.update_with_password(params[resource_name]), with params[resource_name] = {:email => "email",...
devise (3.2.2)
Just read some of the code. Would taking out the line setting the token to nil make it work? Once set to nil, the token cannot be looked up anymore....
I have just realised a possible way to deal with this. The idea is that the following works normally: ``` ruby Problem.where(:id => Problem.joins(:problem_sets).where(:problem_sets => {:owner_id => 35})) ``` This...
Ah, I see the problem with passing scopes - you then need to use a block to get the correct current_ability.can? behaviour (in case of !persisted?). Nevertheless, this is a...
I don't know why you didn't make it a custom exporter (https://github.com/ddollar/foreman/wiki/Custom-exporters) @leafac - based on the code in your repository, it doesn't look much better (if it is any...
I want to bump this, because this is something I've run up against. This goes beyond simple aesthetics, it has a practical use as well. See I want to backup...
For usage documentation, we can say: `sparseness` is used to specify the approximate time difference between the adjacent backups that are kept. For the exact algorithm we would use: ```...
I only checked what was happening in rails console because a test was failing on Travis CI (1.9.3 there now points to 1.9.3-p362).