Semintelligent
IT matters .. to some of us!
Skip to content
  • Home
  • About

Category Archives: Ruby on Rails

Ruby on Rails 3.1 with Ruby 1.9.2 – speeding up rspec 2 (2.11) tests

Posted on August 14, 2012 by maxschubert

After reading a number of posts on speeding up tests with Rails: * http://www.skuunk.com/2012/05/speeding-up-rspec.html * http://www.dixis.com/?p=553 * http://stackoverflow.com/questions/3663075/speeding-up-rspec-tests-in-a-large-rails-application * http://www.rubyinside.com/careful-cutting-to-get-faster-rspec-runs-with-rails-5207.html * http://highgroove.com/articles/2012/04/06/sane-rspec-config-for-clean,-and-slightly-faster,-specs.html * http://blog.plataformatec.com.br/2011/12/three-tips-to-improve-the-performance-of-your-test-suite/ * https://makandracards.com/makandra/950-speed-up-rspec-by-deferring-garbage-collection * http://kpumuk.info/ruby-on-rails/my-top-7-rspec-best-practices/ We implemented a combination of practices to reduce our test execution time … Continue reading →

Posted in Ruby, Ruby on Rails | Leave a comment

Serialization of ActiveRecord model fields – let AR do it and avoid much pain – Ruby on Rails 3.0.9, Ruby 1.9.2

Posted on April 12, 2012 by maxschubert

Created an ActiveRecord model that had a single field that would hold a data structure that included a non-AR object as a part of a Hash that I wanted serialized to the database and de-serialized on retrieval. Remembering my java … Continue reading →

Posted in Ruby on Rails | Leave a comment
  • Recent Posts

    • Jquery Event Handlers – Pitfalls and Tips
    • Using Pry with Padrino
    • Ruby on Rails 3.1 with Ruby 1.9.2 – speeding up rspec 2 (2.11) tests
    • Freezing ruby data structures recursively
    • Easy to use ruby library for interacting with Confluence – confluence4r
  • Recent Comments

  • Archives

    • August 2013
    • June 2013
    • August 2012
    • April 2012
  • Categories

    • Ruby
    • Ruby on Rails
    • UI
  • Meta

    • Create account
    • Log in
    • Entries feed
    • Comments feed
    • WordPress.com
Semintelligent
Blog at WordPress.com.
  • Subscribe Subscribed
    • Semintelligent
    • Already have a WordPress.com account? Log in now.
    • Semintelligent
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar