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
require 'digest/md5' | |
class Transaction < ActiveRecord::Base | |
serialize :details | |
belongs_to :user | |
money :amount | |
validates_presence_of :amount | |
validates_presence_of :source, :if => Proc.new { |transaction| transaction.is_a?(Transaction::Deposit) } |
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
#tabs { | |
li { | |
opacity: 0.5; | |
&.current { | |
opacity: inherit; | |
} | |
} | |
} |
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 MediaController < ApplicationController | |
before_filter :authenticate_user!, :except => [:show, :index] | |
respond_to :html, :json | |
expose_decorated(:featured, decorator: MediumDecorator) { sorted_media 'featured' } | |
expose_decorated(:breaking, decorator: MediumDecorator) { sorted_media 'breaking' } | |
expose_decorated(:media) { Kaminari.paginate_array(search_results).page(params[:page]).per(10) } | |
expose_decorated(:medium, decorator: MediumDecorator, model: Medium) |
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
<div class='sotomatomap-report'> | |
<div class='row'> | |
<div class='logo'> | |
<img src='https://dl.dropboxusercontent.com/u/26679490/somatomap-logo.png' /> | |
</div> | |
</div> | |
<div class='row'> | |
<div class='col-sm-12'> | |
<h1>Trial Summary</h1> | |
</div> |
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
.row.spacing-top-sm.spacing-bottom-lg | |
.col-md-12 | |
.row | |
%span.btn-dropdown | |
%a.btn-dropdown__inside{ 'bs-dropdown' => 'index.variablesDropdown()', 'aria-haspopup' => 'true', 'aria-expanded' => 'false'} | |
%span.title {{index.variable.name}} | |
%i.icon.ss-navigatedown | |
%span{ 'ng-repeat' => 'field in index.variable.schema' } | |
.btn.btn-default{ 'ng-class' => "{'btn-primary': field.visible}", 'ng-click' => 'index.toggleFieldVisiblity(field)' } {{field.name}} | |
.row |
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
.row.spacing-top-sm.spacing-bottom-lg | |
.col-md-12 | |
.row | |
span.btn-dropdown | |
a.btn-dropdown__inside(aria-expanded='false', aria-haspopup='true', bs-dropdown='index.variablesDropdown()') | |
span.title {{index.variable.name}} | |
i.icon.ss-navigatedown | |
span(ng-repeat='field in index.variable.schema') | |
.btn.btn-default(ng-class="{'btn-primary': field.visible}", ng-click='index.toggleFieldVisiblity(field)') {{field.name}} | |
.row |
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
Compressions: 782225 | |
Decompressions: 33396 | |
Compressor Size: 47997 | |
Uncompressed Pages in Compressor: 449983 | |
Page Size: 16384 | |
Largest process: com.apple.WebKit | |
Processes | |
Name | <UUID> | CPU Time| rpages| purgeable| recent_max| lifetime_max| fds | [reason] | (state) |
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
DEBUG [0b52268f] Command: cd /home/perfguru/app/releases/20150506121738 && /home/perfguru/app/rvm1scripts/rvm-auto.sh . bundle install --path /home/perfguru/app/shared/bundle --without development test --deployment --quiet | |
DEBUG [0b52268f] | |
DEBUG [0b52268f] Warning: PATH set to RVM ruby but GEM_HOME and/or GEM_PATH not set, see: | |
DEBUG [0b52268f] https://github.com/wayneeseguin/rvm/issues/3212 | |
DEBUG [0b52268f] | |
DEBUG [0b52268f] Warning! PATH is not properly set up, $GEM_HOME is not set, | |
DEBUG [0b52268f] usually this is caused by shell initialization files - check them for 'PATH=...' entries, | |
DEBUG [0b52268f] it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles', | |
DEBUG [0b52268f] to fix temporarily in this shell session run: 'rvm use ruby-2.2.2'. | |
DEBUG [0b52268f] /usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find bundler (>= 0) amongst [astrails-safe-0.3.1, aws-s3-0.6.3, builder-3.2.2, bundler-unload-1.0.2, |
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
ls ~/app/current/public/assets/ | |
FontAwesome-74c508298b72e9cc7ce2710e4e81ed02.otf image07-7d2b6ae422a05842aadbd34d6ed6fc46.png | |
Jcrop-d0cb9a98b9a65b0d5bdc57a4521b2a4d.gif image08-5b4fcbc2f33cd7f7652be99b05c052db.png | |
admin image09-cdacc24ba045b4775b5a5b24c3891c3c.png | |
application image10-bbafa232220054674c3462d050165eb9.png | |
application-6355ae54e1e930129fb171c5f4b6ee05.css image11-bdc851c458d4152e6c426347350fad24.png | |
application-6355ae54e1e930129fb171c5f4b6ee05.css.gz image12-de425a965bb0d8f29609cadb2def2595.png | |
arrow-down-9x5-d8102a69934b028f064211eb41ace322.png image13-37a5a21a65f0558a1a2e0a82f7a7ee7b.png | |
avatar-48x48-86a996abcb182902cf92f1879c6a02b3.png image14-b689254ba4b1d969780ba6fc0e77ac68.png | |
background_blurred-6578be9ccbe0896bef2d46397c259510.jpg ipad-banner-11dcf0708665909929eb5264d70c015c.png |
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
webpack: bundle is now INVALID. | |
Hash: 2297d2841cd7a85426de | |
Version: webpack 1.9.5 | |
Time: 1156ms | |
Asset Size Chunks Chunk Names | |
favicon.ico 24.8 kB | |
index.html 343 bytes | |
js/app.0.0.0.js 2.96 MB 0 [emitted] app | |
0.4390c9a36255428d253b.hot-update.js 643 bytes 0 [emitted] app | |
4390c9a36255428d253b.hot-update.json 36 bytes [emitted] |
OlderNewer