Exporting table data as excel and google spreadsheet-friendly csv is easy with
ruby's CSV library. Let's walk through an example in just a few steps:
1. Require the CSV library
At the top of your confic/application.rb file, add require 'csv'
2. Enable… »
Playing audio files in a rails app is very simple. By following just a few
steps, you can embed an audio file in your html and use jquery to play those
files in response to certain events. We'll be using the example of a simple
rails app, amiruby.… »
In my previous post, I discussed the mechanics of an ajax post request
[https://www.thegreatcodeadventure.com/remote-true-demystified/]. Now that we understand how to distrup
the usual behavior of a link or form submit button, allow ajax to take over and
send that post request to the controller and manipulate… »
We're not actually going to talk about remote=> true today. Rails offers a lot
of automagic features that elegantly abstract your code. But, for beginners,
this isn't necessarily a good thing. So, before we rely too much on the
automagic of the 'remote: true&… »
Anyone familiar with google adwords is familiar with keyword research. Keyword
research is the attempt to learn a potential user/customer's searching habits so
that you can attract customers and drive traffic to your site. Through keyword
research, you are aiming to learn the intent of a user&… »