Skip to content
Menu
Justin Ball
  • About
  • Privacy Policy
Justin Ball

Month: July 2009

Interesting testing issue with Rails 2.3.3

Posted on July 24, 2009October 25, 2021

I’m not sure if this applies to all the versions of Rails, but right now I’m using the latest 2.3.3. I’m using shoulda to do testing and my code looks like this: context “GET show” do setup do @feed = Factory(:feed) get :show, :id => @feed.to_param end should_not_set_the_flash should_respond_with :success should_render_template :show end </pre> The…

jQuery.ajax – Get in Firefox, Post in Internet Explorer

Posted on July 8, 2009November 1, 2021

The docs for jQuery.ajax indicate that by default the request is made using ‘GET’. I would still recommend setting the type to ‘GET’. We just deployed a site and found that for some reason some versions of Internet Explorer were doing a POST instead of a GET. This is problematic with a Ruby on Rails…

©2025 Justin Ball | Powered by SuperbThemes & WordPress