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
gem 'will_paginate' |
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
== Coffe File | |
ready = -> | |
sendFile = (file) -> | |
data = new FormData | |
data.append 'content_image[image]', file | |
$.ajax | |
data: data | |
type: 'POST' | |
url: '/api/uploads' |
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/sh | |
# A Ubuntu 14.04 install aimed for Ruby on Rails development | |
# This box start with a basic Ubuntu 14.04 (trusty) based on phusion/ubuntu-14.04-amd64 | |
# And it adds the following packages aimed for rails development | |
# - rbenv and ruby-build | |
# - ruby 2.1.2 with bundler | |
# - Git 1.9.1 |