Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
98 lines (94 sloc) 8.97 KB
<!DOCTYPE html>
<html>
<head>
<title>Ruby on Rails - topdan.com</title>
<meta charset="UTF-8">
<meta name="description" content="Dan Cunning's thoughts on Ruby on Rails.">
<meta name="author" content="Dan Cunning">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@itopdan">
<meta name="twitter:url" content="http://www.topdan.com/ruby-on-rails/index.html">
<meta name="twitter:title" content="Ruby on Rails">
<meta name="twitter:description" content="Dan Cunning's thoughts on Ruby on Rails.">
<link rel="shortcut icon" href="/assets/favicon-e45cdd6cc07e8858a985e6014e38a603.png">
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="/ruby-on-rails/index.rss">
<link rel="alternate" type="application/atom+xml" title="Atom" href="/ruby-on-rails/index.xml">
<link rel="stylesheet" media="all" href="/assets/site-d30c732907c1f2982374b8bab9355d72.css"><!--[if lt IE 9]><script src='//html5shim.googlecode.com/svn/trunk/html5.js'></script><![endif]-->
<script type="text/javascript">
if (!document.cookie || document.cookie.indexOf('tracking_off') == -1) {
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-12957077-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
}
</script>
</head>
<body class="bg-black">
<div class="container full-width">
<div class="row navigation">
<a href="/projects/index.html" class="previous"><span class="fa fa-arrow-left">&nbsp;</span> <span class="desktop">Projects</span><span class="mobile">Previous</span></a> <a href="/sports/index.html" class="next"><span class="desktop">Sports</span><span class="mobile">Next</span> <span class="fa fa-arrow-right">&nbsp;</span></a>
<p><a href="/"><span class="fa fa-home">&nbsp;</span></a> &nbsp;»&nbsp;<a href="/">topdan.com</a></p>
</div>
<div class="row bg-white">
<div class="col-md-12">
<div class="width-640 ml-auto mr-auto mb-4e">
<h1 class="mt-1e mb-1e"><a href="/ruby-on-rails/index.html">Ruby on Rails</a> <span class="label label-default fs-12 va-middle">14</span></h1>
<p class="mb-0">Tags: <a href="/ruby-on-rails/tips.html">Tips</a>, <a href="/ruby-on-rails/features.html">Features</a>, <a href="/ruby-on-rails/gems.html">Gems</a>, <a href="/ruby-on-rails/web-services.html">Web Services</a>, <a href="/ruby-on-rails/archive.html">Archive</a></p>
<h3 class="mt-2e"><a href="/ruby-on-rails/minimum-viable-test-suite.html">Minimum Viable Test Suite</a></h3>
<p>Ensure your test suite doesn't have any important holes in coverage by enforcing a simple rule. <a class="nowrap" href="/ruby-on-rails/minimum-viable-test-suite.html">Read more »</a></p>
<h3 class="mt-2e"><a href="/ruby-on-rails/loading-buttons.html">Loading Buttons</a></h3>
<p>Converting action buttons into loading buttons is a common way for AJAX applications indicate that it's waiting on the server to verify an action and respond. <a class="nowrap" href="/ruby-on-rails/loading-buttons.html">Read more »</a></p>
<h3 class="mt-2e"><a href="/ruby-on-rails/aws-s3-browser.html">Browsing Files & Directories in S3</a></h3>
<p>Amazon's S3 makes storing files easy but viewing directories isn't intuitive. Let me explain how you can emulate a file structure using Plain-Old-Ruby-Objects. <a class="nowrap" href="/ruby-on-rails/aws-s3-browser.html">Read more »</a></p>
<h3 class="mt-2e"><a href="/ruby-on-rails/progress-bars.html">Progress Bars</a></h3>
<p>How to create a progress bar using Ruby on Rails, AJAX, and Twitter Bootstrap. <a class="nowrap" href="/ruby-on-rails/progress-bars.html">Read more »</a></p>
<h3 class="mt-2e"><a href="/ruby-on-rails/form-builder-label-and-full-error-messages.html">f.label and errors.full_messages</a></h3>
<p>Why you should never use the explicit "content" parameter of label_tag or the form builder's label method. <a class="nowrap" href="/ruby-on-rails/form-builder-label-and-full-error-messages.html">Read more »</a></p>
<h3 class="mt-2e"><a href="/ruby-on-rails/time-zones-and-datetime-select.html">Time Zones and datetime_select</a></h3>
<p>A simple fix for using datetime_select and time_zone_select together. <a class="nowrap" href="/ruby-on-rails/time-zones-and-datetime-select.html">Read more »</a></p>
<h3 class="mt-2e"><a href="/ruby-on-rails/views-mailers-directory.html">views/mailers directory</a></h3>
<p>Avoid cluttering up app/views by moving mailer directories underneath a single parent. <a class="nowrap" href="/ruby-on-rails/views-mailers-directory.html">Read more »</a></p>
<h3 class="mt-2e"><a href="/ruby-on-rails/mailing-lists/index.html">Mailing Lists</a></h3>
<p>Mailing lists remain an effective way for groups to communicate. We'll explore how to implement them in your Rails application to improve its overall user-experience. <a class="nowrap" href="/ruby-on-rails/mailing-lists/index.html">Read more »</a></p>
<h3 class="mt-2e"><a href="/ruby-on-rails/beware-active-record-callbacks.html">Beware ActiveRecord callbacks</a></h3>
<p>ActiveRecord is a fantastically well-made ORM that makes working with databases a breeze, but one feature in the callback structure is incredibly bug-prone. <a class="nowrap" href="/ruby-on-rails/beware-active-record-callbacks.html">Read more »</a></p>
<h3 class="mt-2e"><a href="/ruby-on-rails/simple-infinite-scrolling.html">Infinite Scrolling with AJAX</a></h3>
<p>Ruby on Rails and jQuery team up to allow your visitors to scroll through all your content without initially loading them all. <a class="nowrap" href="/ruby-on-rails/simple-infinite-scrolling.html">Read more »</a></p>
<h3 class="mt-2e"><a href="/ruby-on-rails/finding-your-most-active-users-with-google-analytics.html">Finding Your Most Active Users</a></h3>
<p>Google Analytics is normally used to track a website's visitors and pageviews, but it can also track specific users, which can be invaluable information as you develop your customer base. Who is the most active? What are they using? Whose usage is fading? <a class="nowrap" href="/ruby-on-rails/finding-your-most-active-users-with-google-analytics.html">Read more »</a></p>
<h3 class="mt-2e"><a href="/ruby-on-rails/ajax-toggle-buttons.html">Ajax Toggle Buttons</a></h3>
<p>How to create toggle buttons using Ruby on Rails, ajax, and unobtrusive javascript. Straight-forward and boring, just how I like it. <a class="nowrap" href="/ruby-on-rails/ajax-toggle-buttons.html">Read more »</a></p>
</div>
</div>
</div>
<div class="row navigation bb-ccc">
<a href="/projects/index.html" class="previous"><span class="fa fa-arrow-left">&nbsp;</span> <span class="desktop">Projects</span><span class="mobile">Previous</span></a> <a href="/sports/index.html" class="next"><span class="desktop">Sports</span><span class="mobile">Next</span> <span class="fa fa-arrow-right">&nbsp;</span></a>
<p><a href="/"><span class="fa fa-home">&nbsp;</span></a> &nbsp;»&nbsp;<a href="/">topdan.com</a></p>
</div>
<div class="row introduction pb-2e bb-ccc mb-1e">
<div class="col-md-6 mt-2e center">
<h1 class="mt-0"><a title="Dan Cunning" class="fs-45 fw-normal shadow-silver" href="/">Dan Cunning</a></h1>
<p class="reference mt-05e"><a title="github" class="white" href="https://github.com/topdan"><span class="fa fa-github">&nbsp;</span> GitHub</a> <a title="Twitter" class="white" href="https://www.linkedin.com/in/dancunning"><span class="fa fa-linkedin-square">&nbsp;</span> LinkedIn</a> <a title="Email" class="white" href="mailto:dan@topdan.com"><span class="fa fa-envelope">&nbsp;</span> Email</a></p>
</div>
<div class="col-sm-offset-1 col-md-4 mt-2e">
<img width="75" height="75" class="img-circle fl-left mr-10" src="/assets/dan-79508ca0775ace507f1dc34d151bba0f.jpg" alt="Dan">
<p class="underline-links">I'm a <a href="/ruby-on-rails/index.html">Ruby on Rails</a> contractor from Atlanta GA, focusing on simplicity and usability through solid design. <a class="nowrap" href="/dan-cunning.html">Read more »</a></p>
</div>
</div>
<div class="row fs-12 mt-1e center">
<div class="col-md-6">
<p class="underline-links mb-1e">View Source: <a href="https://github.com/topdan/www/blob/master/ruby-on-rails/index.html">HTML</a></p>
</div>
<div class="col-md-6">
<p class="mb-1e">© 2012-2018 Dan Cunning. All rights reserved.</p>
</div>
</div>
</div>
</body>
</html>