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
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
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
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
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
<script src="javascripts/jquery-1.4.2.min.js" type="text/javascript"></script> | |
<script src="javascripts/application.js" type="text/javascript"></script> | |
<script type="text/javascript" charset="utf-8"> | |
$(function() { | |
$('#thumb1').click(function() { | |
$('#feature').attr('src', 'images/feature1.jpg'); | |
}); | |
$('#thumb2').click(function() { | |
$('#feature').attr('src', 'images/feature2.jpg'); |
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
SyntaxError in RegistrationsController#create | |
/Users/jathayde/Sites/snack-bar/app/models/registration_mailer.rb:8: syntax error, unexpected tASSOC, expecting '}' | |
body { :account => account } | |
^ | |
/Users/jathayde/Sites/snack-bar/app/models/registration_mailer.rb:16: syntax error, unexpected tASSOC, expecting '}' | |
body { :account => account, :login_url => new_us... | |
^ | |
/Users/jathayde/Sites/snack-bar/app/models/registration_mailer.rb:16: syntax error, unexpected tASSOC, expecting tCOLON2 or '[' or '.' | |
...ount => account, :login_url => new_user_session_url } |
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:snack-bar jathayde$ rake db:seed --trace | |
(in /Users/jathayde/Sites/snack-bar) | |
** Invoke db:seed (first_time) | |
** Invoke environment (first_time) | |
** Execute environment | |
** Execute db:seed | |
"Created 3 roles" | |
"Created 3 users with roles" | |
rake aborted! | |
undefined method `name' for nil:NilClass |
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
# Create a primary member | |
@lastname = Member.create!(:firstname => "", | |
:lastname => "", | |
:id => 1, | |
:member_type => "", | |
:email => "", | |
:homephone => "", | |
:workphone => "", | |
:cellphone => "", | |
:alt_email => "", |
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
# Create a primary member | |
@levine = Member.create!(:firstname => "Richard", | |
:lastname => "Levine", | |
:member_type => "", | |
:email => "[email protected]", | |
:homephone => "(301)469-0485", | |
:workphone => "(301)529-2586", | |
:cellphone => "(301)529-2586", | |
:alt_email => "[email protected]", | |
:address => "12214 Greenbriar Branch Drive", |