Keep getting kicked off #rubyonrails IRC channel?
This is what I did when I was trying to connect to #rubyonrails channel and kept getting thrown into #overflow. I executed the following command twice (while I was still in #overflow) /msg nickserv...
View Article“Multiple default values” migration error with PostgreSQL 8.2.5
PostgreSQL 8.2.5 error == CreateHeartrates: migrating ================================================ – create_table(:heartrates) NOTICE: CREATE TABLE will create implicit sequence “heartrates_id_seq”...
View ArticleLinux commands to install ImageMagick and RMagick
This is what I had to do to get it to work on CentOS 5. For some reason, FreeType would not work with yum so I built it from scratch. I’m not sure if the all the “yum install”s were needed, but I did...
View ArticleUser 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...
View ArticleRails vs PHP vs Java vs …
Good sites comparing Ruby on Rails with other frameworks Java to Rails: Evaluation: moving from Java to Ruby on Rails for the CenterNet rewrite PHP to Rails: outside.in » outside.in switches to...
View ArticleFiveRuns TuneUp Rails Monitoring
I just installed FiveRuns TuneUp it’s great! A small header shows up on all your apps (see attachment). I run it locally only It’s drop dead easy to install: To add TuneUp to your Rails application,...
View ArticleUsing helpers in models, views, and controllers
Using this as a guide JLHPBv2: Using Helpers in Models in Rails, you can make a single Module that can be accessed from models, views, and controllers. The helpers automatically created in...
View ArticleView for version numbers, host names, IPs, etc
Here’s some code (and rendered view) for various version numbers, host names, IPs for Ruby, Rails, PostgreSQL, SMTP. <b>Network</b><br> UNIX hostname: <code><%= `hostname`...
View ArticleRails log analyzers
Here are the ones I tried. Hope the comments aren’t too confusing Simple Rails Log Query Analyzer Ran ruby bin/query_log_analyzer.rb ../log/production.log production.log.1 (small log file ~25MB) Just...
View ArticleMoved to http://www.question-defense.com
I’ve deciced to join forces with http://www.question-defense.com but will keep this blog up so I don’t break any links. All the posts in this blog have been copied to http://www.question-defense.com
View Article
More Pages to Explore .....