Skip to content

Instantly share code, notes, and snippets.

*** LOCAL GEMS ***
actionmailer (2.3.5, 2.3.2, 2.2.2)
actionpack (2.3.5, 2.3.2, 2.2.2)
active_presenter (1.2.0, 0.0.6, 0.0.5)
activerecord (2.3.5, 2.3.2, 2.2.2)
activeresource (2.3.5, 2.3.2, 2.2.2)
activesupport (2.3.5, 2.3.2, 2.2.2)
acts_as_markup (1.3.3, 1.3.0)
{block:Posts}
{block:Text}
{block:Title}
<h3><a href="{Permalink}">{Title}</a></h3>
{/block:Title}
{Body}
{/block:Text}
{block:Photo}
{% assign vendorname = [] %}
{% for product in collections.all.products %}
{% if vendorname != product.vendor %}
<div class="thumb">
<div class="thumb"><a href="{{product.url}}"><img src="{{ product.featured_image | product_img_url: 'medium' }}" alt="{{ product.title }}"/></a>
<h3><a href="{{product.url}}">{{product.vendor | link_to_vendor}}</a></h3>
</div>
<br />
require 'rubygems'
require 'rake'
require 'pathname'
module ThumbleMonks
class Tastic # Formerly Rake::Static
def initialize(app, options={})
@app = app
<?xml version="1.0" encoding="UTF-8"?>
<feed version="2.0" xmlns:georss="http://www.georss.org/georss" xmlns="http://www.w3.org/2005/Atom">
<title>Desktime</title>
<link>http://desktime.com</link>
<description>Coworking Spaces</description>
<entry>
<title>The COOP</title>
<description>An awesome coworking location</description>
<author>none</author>
<published>Wed, 16 Jun 2010 19:25:25 +0000</published>
5) Error:
test: logged in as a group member posting a message with multiple messages with pagination following pagination should be visiting group dashboard. (GroupsControllerTest):
Webrat::PageLoadError: Page load was not successful (Code: 500):
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Action Controller: Exception caught</title>
<style>
body { background-color: #fff; color: #333; }
body, p, ol, ul, td {
users GET /users(.:format) {:action=>"index", :controller=>"users"}
POST /users(.:format) {:action=>"create", :controller=>"users"}
new_user GET /users/new(.:format) {:action=>"new", :controller=>"users"}
edit_user GET /users/:id/edit(.:format) {:action=>"edit", :controller=>"users"}
user GET /users/:id(.:format) {:action=>"show", :controller=>"users"}
PUT /users/:id(.:format) {:action=>"update", :controller=>"users"}
DELETE /users/:id(.:format) {:action=>"destroy", :controller=>"users"}
password_resets GET /password_resets(.:format)
(function($){
var Gallery = function(el){
var self = this;
var div = $(el);
var links = div.find("dl a");
var title;
var image;
self.titleText = "<p class='the-title'>Click thumbnail to make image bigger</p><div class='image-placeholder'></div>"
<img src="<?php if( get_meta("page_banner") != "" ) { print get_meta("page_banner"); } else { ?>http://placehold.it/930x251&text=No%20Image<?php } ?>" width="930" height="251">
<%= submit_tag "Send", "data-disable-with" => "Sending..." %>