How to Handle Uploading Really Large Files in PHP  
  
    PHP has some default limits that do not work out of the box when you want to work with uploading very large files.
So there are a few configuration changes you have to make to the defaults that come with PHP. These are defined in you php.ini file.
The...  
  
    
      Written by Sean Behan on 09/20/2018
    
  
 
  
    Load All ActiveRecord::Base Model Classes in Rails Application  
  
    Here is a simple rake task which will instantiate all of your Active Record models, provided that they are located in the RAILS_ROOT/app/models directory. Interestingly, all plugin models are instantiated by default when you run the task, for instance, if...  
  
    
      Written by Sean Behan on 06/17/2012
    
  
 
  
    Workshop Dog  
  
    Workshop Dog is a free events calendar for dog training workshops and group lessons.
Users can list their training workshops as well as create a business profile. Jobs may be posted to the site for a small fee. Events that are created are distributed to...  
  
    
      Written by Sean Behan on 06/17/2012
    
  
 
  
    Natural Dog Training Buzz  
  
    NDT Buzz is a companion news site to Natural Dog Training.
News and information about Natural Dog Training is generated on the web from many different sources. Blogs, tweets and comments are aggregated using the Feedzirra Ruby Gem. The site lets NDT use...  
  
    
      Written by Sean Behan on 06/17/2012
    
  
 
  
    Rails Helper to Remove Leading Zero in 12 Hour Time Format  
  
    I can't find a strftime() format that will output the hour without the leading zero.  For instance 6:20 will be instead 06:20. This just looks a little sloppy. I created a datetime.rb intializer which will contain custom datetime formats for my applicatio...  
  
    
      Written by Sean Behan on 06/17/2012