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
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
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
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
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
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
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
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
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
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