May
Bryan’s Shoes

Bryan getting accosted by an old lady on the streets of Portland, OR.
RailsConf in Portland
As we were walking to a restaurant last night an old crazy lady told Bryan to buy new shoes! I guess she didn’t like his fashion forward white European bowlers. We sat in on some great sessions at the conference today. The Entrepreneurs on Rails was by far my favorite. We got a great treat when we checked into the DoubleTree hotel today. They told us they had upgraded our room to the Presidential Suite! The only hitch was that the room only had one king bed and we have five guys. They remedied the situation with roll away beds in the corner of our massive living room. It’s nice having a full size hot tub and wet bar in the room. I think we’ll have a party on Sunday night. Portland heard that Squeejee was coming to town so they put their best foot forward and had a massive fireworks display that we watched from our 14th floor private balcony. Life is hard for the Squeejee Team.
See You at RailsConf!
We are heading to RailsConf in Portland for our second year in a row. If you’re going to be there look us up. We are excited to see what RailsConf will prompt this year. Last year it was the catalyst for our name change from Praexis to Squeejee. This year we may change our opinion that Miller Lite tastes great to less filling.
Generate Rails Migrations With Columns
The Ruby On Rails migration generator will now auto generate the code needed to add and/or remove columns. This means that if simply want to add a new column, you can do so via the command line generator and not have to modify the migration code. Both the “self.up” and “self.down” are generated for you.
To add a column to an existing table:
script/generate migration AddNewColumnsToUsers new_column_1:datetime new_column_2:string
will generate:
<code class='ruby'>
class AddNewColumnsToPayouts < ActiveRecord::Migration
def self.up
add_column :users, :new_column_1, :datetime
add_column :users, :new_column_2, :string
end
def self.down
remove_column :users, :new_column_1
remove_column :users, :new_column_2
end
end
To remove a column from an existing table:
script/generate migration RemoveNewColumnsFromUsers new_column_1:datetime new_column_2:string
will generate:
<code class='ruby'>
class RemoveNewColumnsFromUsers < ActiveRecord::Migration
def self.up
remove_column :users, :new_column_1
remove_column :users, :new_column_2
end
def self.down
add_column :users, :new_column_1, :datetime
add_column :users, :new_column_2, :string
end
end
New Team Member!
Bryan comes from a great RoR background at DataCert. He has jumped in with both feet and made huge contributions to our projects. Bryan will be joining the Squeejee team at Rails Conf in Portland later this month if you would like an autograph. Welcome to the team buddy.



