Skip to content

Instantly share code, notes, and snippets.

View TylerSangster's full-sized avatar

Tyler Sangster TylerSangster

View GitHub Profile
➜ SimHub git:(production) bundle exec cap production deploy --trace
** Invoke production (first_time)
** Execute production
** Invoke load:defaults (first_time)
** Execute load:defaults
** Invoke rbenv:validate (first_time)
** Execute rbenv:validate
DEBUG [eb92db34] Running /usr/bin/env [ ! -d ~/.rbenv/versions/2.1.2 ] as [email protected]
DEBUG [eb92db34] Command: [ ! -d ~/.rbenv/versions/2.1.2 ]
DEBUG [eb92db34] Finished in 1.717 seconds with exit status 1 (failed).
➜ SimHub git:(production) bundle exec cap production deploy --trace
** Invoke production (first_time)
** Execute production
** Invoke load:defaults (first_time)
** Execute load:defaults
** Invoke rbenv:validate (first_time)
** Execute rbenv:validate
DEBUG [eb92db34] Running /usr/bin/env [ ! -d ~/.rbenv/versions/2.1.2 ] as [email protected]
DEBUG [eb92db34] Command: [ ! -d ~/.rbenv/versions/2.1.2 ]
DEBUG [eb92db34] Finished in 1.717 seconds with exit status 1 (failed).
table.board-table
tr
th Name
th Threads
th Messages
- if @boards.present?
- @boards.each do |board|
tr
td
.board-title = board.title
@TylerSangster
TylerSangster / Source from fourm
Last active August 29, 2015 13:56
Recurly.JS setup on a rails app
<!DOCTYPE html>
<html class='scrollable'>
<head>
<meta charset="utf-8">
<script type="text/javascript">
//<![CDATA[
window.gon = {};gon.recurly_plan_code="personal";gon.recurly_signature="a1d711146adf5a6148e9750b73838bd0fd984994|nonce=FVPidmDB0CwJuxi3EMsFwZP5T6oIvvq5t7KhHE0q1oc&subscription%5Bplan_code%5D=personal&timestamp=1391699817";gon.recurly_subdomain="teldio";gon.recurly_account_code="1234";gon.recurly_email="[email protected]";gon.recurly_success_url="/";
//]]>
</script>
<title>
# http://stackoverflow.com/questions/14972253/simpleform-default-input-class
# https://github.com/plataformatec/simple_form/issues/316
inputs = %w[
CollectionSelectInput
DateTimeInput
FileInput
GroupedCollectionSelectInput
NumericInput
PasswordInput