Ronald Chan
Ronald Chan
When changing email to itself, devise does nothing, because it thinks there is nothing to change. However, it is better to erase unconfirmed email so that it doesn't confuse the...
I just had a new user tell me that it wasn't letting him confirm his email. When I checked, the email was already confirmed. Perhaps the page was loaded twice...
I've worked on getting the backend embedded into the layout, and there didn't seem to be a good way to call a sinatra application from within rails, so that the...
Recently upgraded to 1.6.8 and it made the index accessible_by stop working. There was the problem that a more specific can clause overwrites one without condtitions, but a simple re-ordering...
Often you want to make frequent backups, but to save space, you limit the number you keep, by using the `keep` option on the storage. However, in some cases, you...
Wow, just saw this library after putting pygments.rb into my app. Support for wrapping each line with a span would be great. Because I let code wrap, the tableized line...
With the following code: ``` class A < ActiveRecord::Base scope :active, lambda { where{sift :is_active} } sifter :is_active do (started_at DateTime.now) end end A.active # following error on this line...
I found out that using: ``` ruby sifter :name do |args| end ``` actually defines a method of that name, which means you cannot subsequently say ``` ruby def name...