This file contains hidden or 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
Feature: Authentication (No Web Steps, Declarative) | |
As A User | |
In order to gain access to skynet | |
I want to be able to login and logout | |
Background: | |
Given I have a valid account | |
Then I should be able to login |
This file contains hidden or 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
Uncaught Unknown record | |
Model.find | |
ProfilesShow.active | |
__bind | |
Profiles.routes./profiles/:id | |
Module.proxy | |
__bind | |
Spine.Route.Route.match | |
Spine.Route.Route.matchRoute | |
Spine.Route.Route.navigate |
This file contains hidden or 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
[core] | |
repositoryformatversion = 0 | |
filemode = true | |
bare = false | |
logallrefupdates = true | |
ignorecase = true | |
[remote "origin"] | |
url = [email protected]:mostlydisco/swoonme.com.git | |
fetch = +refs/heads/*:refs/remotes/origin/* | |
[gitflow "branch"] |
This file contains hidden or 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 RavensController < SiteController | |
no_login_required | |
skip_before_filter :verify_authenticity_token | |
def update | |
response = CreateSend::Subscriber.add params[:list], params[:email], params[:name], nil, true | |
respond_to do |format| |
This file contains hidden or 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
{ | |
:en => { | |
:time => { | |
:formats => { | |
:day => "%A", | |
:date => lambda { |time, _| "#{time.day.ordinalize} %B" }, | |
:time => "%k%p", | |
:full => lambda { |time, _| "%A #{time.day.ordinalize} %B at %k%p" }, | |
} | |
} |
This file contains hidden or 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
/init.d/nginx | |
#!/bin/sh | |
# SOURCE http://snipplr.com/view/6125/ubuntudebian-nginx-initd-script/ | |
# Modified for Babushka use | |
PATH=/sbin:/bin:/usr/sbin:/usr/bin | |
DAEMON=SETME | |
CONFIG_FILE=SETME |
This file contains hidden or 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
{% paginate products.all.order_by_max_price_asc.search by 15 %} | |
<ol> | |
<li><ol> | |
{% for product in paginate.collection %} | |
<li> | |
This file contains hidden or 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
{% for field in products.all.product_group_fields.style %} | |
{% for style in field.field_values %} | |
<li><a href="/wines?style={{style.value}}">{{ style.value }}</a></li> | |
{% endfor %} | |
{% endfor %} |
This file contains hidden or 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
{% extends 'parent' %} | |
{% block body %} | |
{% for wine in contents.wines %} | |
<a href="/all_of_our_wines/{{wine._permalink}}">{{wine.title}}</a> | |
{% endfor %} | |
{% for shirt in products.shirts %} | |
<a href="/all_of_our_shirts/{{shirt._permalink}}">{{wine.title}}</a> | |
{% endfor %} |