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 Admin::ResourceController < Admin::BaseController | |
before_action :load_resource | |
def index | |
respond_with @collection | |
end | |
def edit | |
respond_with(:admin, @object) | |
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
/Users/benoit/.rbenv/versions/2.1.0/lib/ruby/2.1.0/test/unit.rb:199:in `block in non_options': file not found: db:prepare_template (ArgumentError) | |
from /Users/benoit/.rbenv/versions/2.1.0/lib/ruby/2.1.0/test/unit.rb:178:in `map!' | |
from /Users/benoit/.rbenv/versions/2.1.0/lib/ruby/2.1.0/test/unit.rb:178:in `non_options' | |
from /Users/benoit/.rbenv/versions/2.1.0/lib/ruby/2.1.0/test/unit.rb:237:in `non_options' | |
from /Users/benoit/.rbenv/versions/2.1.0/lib/ruby/2.1.0/test/unit.rb:58:in `process_args' | |
from /Users/benoit/.rbenv/versions/2.1.0/lib/ruby/2.1.0/minitest/unit.rb:1073:in `_run' | |
from /Users/benoit/.rbenv/versions/2.1.0/lib/ruby/2.1.0/minitest/unit.rb:1066:in `run' | |
from /Users/benoit/.rbenv/versions/2.1.0/lib/ruby/2.1.0/test/unit.rb:27:in `run' | |
from /Users/benoit/.rbenv/versions/2.1.0/lib/ruby/2.1.0/test/unit.rb:780:in `run' |
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
git clone <repo-address> | |
git tag -l | |
git checkout <tag-name> | |
git branch -D master | |
git checkout -b master |
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
# Simple wrappers for Material Design Lite text fields to use with SimpleForm (Rails) | |
SimpleForm.setup do |config| | |
config.wrappers :mdl_field, tag: 'div', class: 'mdl-textfield mdl-js-textfield', error_class: 'mdl-textfield__error' do |b| | |
b.use :html5 | |
b.use :input, class: 'mdl-textfield__input' | |
b.use :label, class: 'mdl-textfield__label' | |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="x-ua-compatible" content="ie=edge, chrome=1" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, minimum-scale=1"> | |
<title>Accountkit</title> | |
</head> | |
<body> |
OlderNewer