Dive into the archives.
- Custom Validation for attachment_fu
Any time a project I’m working requires uploading a file I turn to a trusty old friend called attachment_fu. The plugin works great, but lacks the necessary validations. It does have a built-in validates_as_attachment, but only prevents files outside of the set range from being uploaded. What if I wanted to validate […]
- Custom field_error_proc in Ruby on Rails
I was recently working a project that required pixel perfect CSS so Ruby on Rail’s packaged field_error_proc just wouldn’t cut it. If you’ve ever written a scaffold with validations you’re familiar with what I’m talking about. The injection of the field_with_errors div wrapped around the offending field. I needed to highlight the […]
- SyntaxHighlighter
[source:ruby]
# Hey Steven. This plugin works well for
# syntax highlighting!
def SyntaxHighlighter
@syntax = Highlight.find(:all, :conditions => [’works_with = ?’, @wordpress])
end
# Yes!
[/source]
- Agility Takes a Toll, But the Reward is Great!
update: link at bottom now works
It’s time to move forward with the next release of I Slept Great!, which includes bug fixes, focuses on better responses from the tracker, and an easier signup process for the user. It’s always been a challenge for me to move past version 1 of a release because I […]










