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
Soho:beekeep jathayde$ bundle install | |
Updating git://github.com/thoughtbot/shoulda | |
Updating git://github.com/thoughtbot/factory_girl | |
Fetching source index from http://gemcutter.org/ | |
Updating git://github.com/thoughtbot/factory_girl | |
Updating git://github.com/thoughtbot/shoulda | |
Using rake (0.8.7) from bundler gems | |
Using abstract (1.0.0) from bundler gems | |
Using builder (2.1.2) from bundler gems | |
Using i18n (0.3.7) from bundler gems |
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
NoMethodError in Releases#show | |
Showing app/views/applications/_rightside.html.erb where line #15 raised: | |
undefined method `call' for "localhost:3001":String | |
Extracted source (around line #15): | |
12: <% icon_class, icon_alt = (environment.most_recent_deployment.deployed? ? [:online, 'Online'] : [:offline, 'Offline']) if environment.most_recent_deployment %> | |
13: <%= image_tag 'transparent.gif', :size => "16x16", :alt => icon_alt, :class => "deployment_icon #{icon_class}" %></td> | |
14: <td class="env_name"><%= link_to environment.name, application_environment_path(@application, environment.name) %></td> |
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
def index | |
@purchase = Purchase.new | |
end | |
# this page is loaded and is the root_path |
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
Processing SessionsController#new (for 127.0.0.1 at 2010-02-25 18:16:44) [GET] | |
Parameters: {"action"=>"new", "controller"=>"sessions"} | |
Rendering template within layouts/application | |
Rendering sessions/new | |
User Columns (11.0ms) SHOW FIELDS FROM `users` | |
SQL (0.2ms) SELECT count(*) AS count_all FROM `users` | |
CACHE (0.0ms) SELECT count(*) AS count_all FROM `users` | |
ActionView::TemplateError (undefined method `javascript_tag' for #<ActionView::Base:0x591e060>) on line #12 of app/views/sessions/new.html.erb: | |
9: Event.observe(window, 'load', |
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
# Stories for marketing | |
@blogpost = Story.create(:title => "Lorem Ipsum", :body => "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.") | |
@blogpost = Story.create(:title => "Blog Entry No. 2", :body => "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum |
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
# def initialize(photo) | |
# @photo = PHOTOS[rand(24)] | |
# end | |
def filename | |
@photo[0] | |
end | |
def photo_caption | |
@photo[1] |
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
<h2 class="search-details"> | |
<p><span>Results for</span> '<span class="searched-for"><%= @query %></span>'</p> | |
<h2> | |
<%# WHAT THE FUCK?!?!?! %> |
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
canaveral:dvlabs jathayde$ ruby script/server | |
=> Booting Mongrel (use 'script/server webrick' to force WEBrick) | |
=> Rails 2.2.2 application starting on http://0.0.0.0:3000 | |
=> Call with -d to detach | |
=> Ctrl-C to shutdown server | |
** Starting Mongrel listening at 0.0.0.0:3000 | |
** Starting Rails with development environment... | |
using localhost for PERCEUS_MASTER | |
** Rails loaded. | |
** Loading any Rails specific GemPlugins |
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
<ol class="latest_uploads"> | |
<% playlist.listings.each_with_index do |listing, i| -%> | |
<% if i < show %> | |
<% composition = listing.composition %> | |
<% position = i %> | |
<li class="playlist_item"> | |
<p class="track_title"><%= link_to awesome_truncate(composition.title,30), composition_path(composition), :title => composition.title %></p> | |
<p class="sm2_link"><a href="<%= composition.preview_url %>"><span class="hide_me">Preview</span> </a> | |
<% if composition.network? %> | |
<%= link_to image_tag("button_playlist_download.gif", :alt => "Download"), downloads_path(:audio_item_id => composition.audio_items.first.id), :method => :post%> |
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
<div id="top_ten" class="widget"> | |
<h3 class="sifrdboldgray">Top 10</h3> | |
<ol> | |
<% playlist.listings.each_with_index do |listing, i| -%> | |
<% if i < show %> | |
<li> | |
<p class="track_title"><%= truncate(listing.composition.title,20,"...") %></p> | |
<a class="sm2_link" href="<%= listing.composition.preview_url %>"><span class="hide_me">Preview</span> </a> | |
<p class="artist_name"><%= !listing.composition.producer_name.blank? ? truncate(listing.composition.producer_name,20,"...") : "No artist listed" %></p> | |
<%#= link_to_function(image_tag("icon_load_in_player.png", :alt => "Add to Playlist",:title => "Add to Playlist"), "addCompositionToPlayerPlaylist(#{listing.composition.id})") %> |