Just wrote a protip on Coderwall about how to install Phantomjs on Linux Mint 16…
What is spring?
Spring is an application preloader. That means it boots up your rails application and keeps it running in the background.
Why is this good?
It means you don’t have to boot it up every time you need to run a test – shaving a ton of time as you run your tests.
Add to gemfile
1 2 group :development, :test do 3 gem 'spring-commands-rspec' 4 gem 'rspec-rails' 5 gem 'guard-rspec' 6 gem 'pry' 7 end 8
Note the dependency on spring in spring-commands-rpsec means you don’t need gem “spring”
1 2 bundle install 3 bundle exec spring binstub --all 4 rails g rspec:install 5
1 2 bin/spring rspec 3 bundle exec guard init rspec 4
Change to the following line in Guardfile:
Change guard :rspec do to:
guard :rspec, cmd:”spring rspec” do
The ‘oCol is undefined’ Error Recently I installed jQuery-datatables-rails in a Rails 4 project. With the Firebug plugin in Firefox, I received an error ‘oCol is undefined’. With Google Chrome via the console, I received an error ‘Cannot
What is Fat FREE CRM? Fat Free CRM is an open-source customer relationship management piece of software that lets you perform the basic marketing activities integral to the sales cycle. Tracking leads, managing campaigns, and contact lists are
Would you ever stop changing the oil on your car? I wouldn’t. It’s part of the maintenance that leads to a longer life span for my car and ensures it runs smoothly. In fact, because the automobile industry has done such a good job of educating
Recently, I was tired and used the Linux mv command and erased a whole bunch of websites when I was SSHing into my web host account. So now I am going to document how to use the mv command just for kicks (and because it’s a short, fun thing to blog
From part 4 of the tutorial, we have set up our polymorphic associations. Now it's time to be able to give users the ability to CRUD (create, read, update, and delete) some tasks.
I wrote a gem called RSocialize a while ago to help make it easier to install social media buttons on your Rails application.
Part 4 - Setting Up a Polymorphic Association Among Users, Folders, Tasks If you recall the small discussion on polymorphic associations in Part 1a, you'll remember that we wanted the ability to create a task and have the option to not associate it