This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def what_is_gist | |
"I don't know wtf it is." | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%h1.title RetireHQ Privacy Policy | |
#terms.generic | |
%p Last updated: July 21, 2008 | |
%h2 Data Collected by the RetireHQ Website | |
%p Your privacy is of paramount importance to us. We believe that by respecting your privacy we will earn the opportunity to build a lasting relationship with your business, your clients and your staff. Any information you provide to us will only be used for the purpose for which it was submitted. We collect your information primarily for contact and billing purposes. Under no circumstances will your information be shared with, or sold to, or disclosed to any third party, except where required by law. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def what_is_gist | |
Sex::Pure | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvim `grep -r for_users_by_type * --include "*.rb" | cut -d ":" -f1 ` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I won't bore you with a long introduction when I can do it just as easily with a short one. | |
Now for the part you've all been waiting for, the end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin/ | |
obj/ | |
*.user | |
*.suo | |
_ReSharper* | |
*.resharper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IDENTIFICATION DIVISION. | |
PROGRAM-ID. EXAMPLE2. | |
************************************************************************ | |
* Put your name and a description of the program here * | |
* * | |
************************************************************************ | |
ENVIRONMENT DIVISION. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require File.dirname(__FILE__) + '/../config/boot' | |
`touch #{RAILS_ROOT}/tmp/restart.txt` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ApplicationResourceController < ApplicationController | |
resource_controller | |
protect_from_forgery :only => [:update, :delete] | |
index.wants.xml { render :xml => collection.to_xml, :status => :ok } | |
show do | |
failure.wants.xml { render :nothing => true, :status => 404 } | |
wants.xml do | |
unless object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ShowsController < ApplicationResourceController | |
def route_name | |
'show' | |
end | |
def resource_name | |
'show' | |
end | |
OlderNewer