Technology Insights

Ruby on Rails File Upload Plug-ins

Basically, I dug up 5 plug-ins (plugins) that can do the job 1. acts as attachment 2. attachment_fu (extension of act_as_attachment) I used Khamsouk’s tutorial (but without the AJAX) and had to change the following line from :max_size => 1.megabytes to :size => 0.megabyte..1.megabytes Mike Clark also has a good tutorial, but he doesn’t use…

Technology Insights

User Profiles with Restful Authentication

  Error when updating the user from a form ActiveRecord::RecordInvalid (Validation failed: Password confirmation can’t be blank, Password is too short (minimum is 4 characters), Password can’t be blank):       Suggestion It’s probably because of the restrictions on the User model (attr_accessible or attr_protected, in particular). But allowing users access to any part…