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
ENV["RAILS_ENV"] = "test" | |
require File.expand_path(File.dirname(__FILE__) + "/../config/environment") | |
require 'test_help' | |
require 'active_resource/http_mock' | |
class Test::Unit::TestCase | |
self.use_transactional_fixtures = true | |
self.use_instantiated_fixtures = false | |
def self.all_fixtures |
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
#bash_profile: | |
alias reload='source ~/.bash_profile' | |
alias ll="ls -l" | |
alias la="ls -a" | |
alias lla="ls -la" | |
alias rm='rm -i' | |
alias srm='srm -i' | |
alias m=more | |
alias ..="cd .." | |
alias l="ls -AFhl" |
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
module ActionView | |
module Helpers | |
module UrlHelper | |
def button_to(name, options = {}, html_options = {}) | |
html_options = html_options.stringify_keys | |
convert_boolean_attributes!(html_options, %w( disabled )) | |
method_tag = '' | |
if (method = html_options.delete('method')) && %w{put delete}.include?(method.to_s) | |
method_tag = tag('input', :type => 'hidden', :name => '_method', :value => method.to_s) |
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
# make bash autocomplete with up arrow | |
bind '"\e[A":history-search-backward' | |
bind '"\e[B":history-search-forward' |
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
#bash_profile: | |
alias reload='source ~/.bash_profile' | |
alias ll="ls -l" | |
alias la="ls -a" | |
alias lla="ls -la" | |
alias rm='rm -i' | |
alias srm='srm -i' | |
alias m=more | |
alias ..="cd .." | |
alias l="ls -AFhl" |
NewerOlder