Author Archives: Bill Leeper

should assign_to(:user).with(@user) in a rails functional test

When doing a recent test case, I kept running into an issue where in the example in the title, the @user was blank. class UsersControllerTest < ActionController::TestCase   context "Show User Profile" do     setup do       @user = Factory(:user)       get :show, {:id … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Win a Canon 5D/MKII or Nikon D700

I normally don’t post this kind of sudo-spam, but it’s helps my chances of winning so here you are: Contest Link Link to the contest at MCP Actions. Enjoy

Posted in Uncategorized | Leave a comment

Devise, Omniauth, and Facebook

For the Colorado Springs Ruby Users’ group meeting on 1/19/2012 I made the embedded presentation to highlight how to setup Devise with Omniauth and Facebook. Devise and Rails View more presentations from William Leeper Most of this is pretty much … Continue reading

Posted in Ruby on Rails | Leave a comment

Nested_Form meets Twitter Bootstrap using twitter_bootstrap_form_for

I have been playing pretty heavily with twitter bootstrap lately and while incorporating it into an existing site found that I couldn’t use the great twitter_bootstrap_form_for gem with nested_form. Doing a little digging I found how nested_form handles various builders. … Continue reading

Posted in Ruby on Rails | Leave a comment

Rails 3.1 on Heroku and adding the Amazon CDN

I have been spending the last week tuning up an application we support at work. It really is a massive piling of steaming dung in places too. Anyway after getting through a whole bunch of other performance issues, I turned … Continue reading

Posted in Hosting, Ruby on Rails | Leave a comment

Rails 3.2.rc1 and acts_as_taggable_on

Being the masochist that I am, I gave the new release candidate of Rails a spin on the first day. Lots of stuff changing. Took the better part of the day on my main project to get things up and … Continue reading

Posted in Ruby on Rails | 4 Comments

Carbonite Throttling

I recently noticed that my Carbonite backups were going vey slow. Digging around their site I found that they do indeed throttle personal accounts once you have more than 200GB of information stored. While many will find this plenty, if … Continue reading

Posted in Hosting, Tools | 2 Comments

Never been a better time to be a software engineer

While there may have been some better times in the history of software engineering, it’s pretty good out there now. This is especially true for those that do applications development. With the advent of the web the number of opportunities … Continue reading

Posted in Uncategorized | Leave a comment

Raise Taxes or Major Spending cuts

It seems that many people are finally agreeing that we have a major deficit problem.  The real debate seems to be how to fix it.  There are those that want to make budget cuts and a rare few that argue … Continue reading

Posted in Uncategorized | Leave a comment

Verizon 4G LTE Mobile Hotspot Experience in the Wild

I have been using the Verizon 4G LTE Mobile hotspot in the wild now for a few weeks. The experience has been far from ideal. I am still mostly using it in outlying areas with 3G coverage so this review … Continue reading

Posted in Uncategorized | 2 Comments