1, a new rails app without active record
rails new template --skip-active-record
If you haven't installed mongoid, you should follow:
gem update --system
1, a new rails app without active record
rails new template --skip-active-record
If you haven't installed mongoid, you should follow:
gem update --system
| /* font face */ | |
| @font-face { | |
| font-family: 'MyWebFont'; | |
| src: url('myfont.woff') format('woff'), /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ | |
| url('myfont.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */ | |
| } |
| <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script> | |
| <script src="app.js"></script> | |
| <div ng-app="store"> | |
| <p>Name: <input type="text" ng-model="name"></p> | |
| <p ng-bind="name"></p> | |
| <p> | |
| I am {{ 4 + 6 }} |
| http://learnlayout.com/ |
| <fieldset class="hr-legend"> | |
| <legend align="center">OR</legend> | |
| </fieldset> |
| # git alias | |
| alias status='git status' | |
| alias add='git add -A' | |
| alias dev='git checkout development' | |
| alias pushdev='git push origin development' | |
| alias pulldev='git pull origin development' | |
| alias commit='git commit -m' | |
| alias push='git push origin master' | |
| alias pull='git pull origin master' |
Dynamic IP addresses.
http://jonathanhui.com/install-ruby-rubygems-ruby-rails-3-amazon-linux
rails r "print Rails.env"
Ping Target HTTP:80/