rubycoloredglasses


I'm Jason, a web application developer in East Tennessee.


  1. Database Schema Information

    It can be very useful to have the database table schema information available to you when you are working on a model in a Ruby on Rails application. There is a plugin available which provides the schema information in comments at the top of each model called Annotate Models Plugin.

    # == Schema Information
    # Schema version: 20090215021706
    #
    # Table name: orders
    #
    #  id                     :integer(11)     not null, primary key
    #  order_number           :integer(11)     default(0), not null
    #  created_on             :datetime
    #  shipped_on             :datetime
    #  order_user_id          :integer(11)
    #  order_status_code_id   :integer(11)     default(1), not null
    #  notes                  :text
    #  referer                :string(255)
    #  order_shipping_type_id :integer(11)     default(1), not null
    #  product_cost           :float           default(0.0)
    #  shipping_cost          :float           default(0.0)
    #  tax                    :float           default(0.0), not null
    #  auth_transaction_id    :string(255)
    #  promotion_id           :integer(11)     default(0), not null
    #  shipping_address_id    :integer(11)     default(0), not null
    #  billing_address_id     :integer(11)     default(0), not null
    #  order_account_id       :integer(11)     default(0), not null
    #  subscription_id        :integer(11)
    

  2. PHP Compilation

    I’m pretty proud of myself. I just configured PHP to compile without any problems…well no imap support, but that can wait.

    I saw that someone asked how to resolve the problem, but had no answer, and then I realized with the help of an answer from someone else on a messageboard that you have to install the development version of the libraries to compile certain support into a program.

    Here is my chance to give back to the Linux world by helping another newbie out (without acting like I was above him or anything, just a newbie helping a newbie).

    See Post


  3. MBox and Linux Test Server

    Well. I hooked up the MBox last night, and just like before but even more disappointing, the damn thing is still creating a digital hum and static, triggered by the movements of the mouse and the processing of programs. I don’t know if its some sort of electrical interference, a bad USB cable, or both.

    I hope I can find the solution. The first thing I’m going to do is replace the cable and try to clean the connectors in the MBox.


    I got the web server running on my little Linux test server. I was hosting redconfetti.net on the server that this website is hosted on for a while, but recently I moved the DNS hosting onto my server, along with redconfetti.net.


  4. PHP/MySQL Bug Tracking

    For anyone who needs a free web based Bug Tracking system programmed using PHP/MySQL, check out Flyspray.

    I searched very far to find a web based program to track the bugs in the website I work on in ASP/MS-SQL. I know PHP/MySQL so I was able to setup this bug tracker, and fortunately I can modify it to do things I need it to do.

    Its features appear to be good enough for tracking bugs in actual software, and it can be setup to suit those debugging web based software.