$ rails g model User
belongs_to
has_one
| require "bundler/capistrano" | |
| require "whenever/capistrano" | |
| # RVM bootstrap | |
| #$:.unshift(File .expand_path( "~/.rvm/lib" )) | |
| set :rvm_ruby_string , 'ruby-1.9.3-p194@askjane' #这个值是你要用rvm的gemset。名字要和系统里有的要一样。 | |
| #set :rvm_ruby_string, ENV['GEM_HOME'].gsub(/.*\//,"") # Read from local system | |
| set :rvm_type , :user # Don't use system-wide RVM | |
| require 'rvm/capistrano' |
I would start by installing the Sublime Package Control manager. This tool will allow you to install the other plugins without having to clone git repositories and copying them to the correct folders. Instead you will the command drop-down menu with "Ctrl + Shift + P" and then scrolling down until you see "Package Control: Install Package". A search bar will pop up and you can type the name of a package, click on the name and it will self install. If you have problems setting any of these up email me at barnes7td@gmail.com
Sublime Package Control - Install this first. This tool will allow you to easily install most (if not all) the other plugins in this list. (Ctrl + Shift + P, then select Package Control: Install Package)
SublimeERB - This plugin auto creates the erb tags. (<% %>, <%= %>, etc.) (Ctrl +
| rm -rf /Applications/Tuxera\ Disk\ Manager.app | |
| rm -rf /Library/Application\ Support/Tuxera\ NTFS | |
| rm -rf /Library/Filesystems/fusefs_txantfs.fs |
#AJAX
"AJAX an acronym for asynchronous JavaScript and XML is a group of interrelated web development techniques used on the client-side to create asynchronous web applications. With Ajax, web applications can send data to, and retrieve data from, a server asynchronously (in the background) without interfering with the display and behavior of the existing page. Data can be retrieved using the XMLHttpRequest object. Despite the name, the use of XML is not required (JSON is often used instead), and the requests do not need to be asynchronous." - wikipedia
jQuery provides a $.ajax() method with a set of options for sending requests and callback methods to handle responses.
$.ajax() request that does not send any data. It will be handled by the post '/trips' route on the server. You can choose any of the http request verbs for the type parameter (get, post, put, delete)| http://stackoverflow.com/questions/19386962/laravel-eloquent-and-complex-relationships?rq=1 | |
| http://forumsarchive.laravel.io/viewtopic.php?pid=21255 | |
| http://stackoverflow.com/questions/20666490/laravel-4-mssql-stored-procedure-with-parameters-as-a-prepared-statements | |
| http://culttt.com/2013/08/05/extending-eloquent-in-laravel-4/ | |
| http://www.blogosfera.co.uk/2013/08/pass-parameters-in-insert-query-stored-procedure-in-laravel-4/ |
Installing Xcode and the command line tools need to be done first because it installs gcc.
https://developer.apple.com/xcode/features/
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
| http://stackoverflow.com/questions/19386962/laravel-eloquent-and-complex-relationships?rq=1 | |
| http://forumsarchive.laravel.io/viewtopic.php?pid=21255 | |
| http://stackoverflow.com/questions/20666490/laravel-4-mssql-stored-procedure-with-parameters-as-a-prepared-statements | |
| http://culttt.com/2013/08/05/extending-eloquent-in-laravel-4/ | |
| http://www.blogosfera.co.uk/2013/08/pass-parameters-in-insert-query-stored-procedure-in-laravel-4/ |