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
→ rake db2s3:backup:full --trace | |
(in /Users/jimmy/Projects/Rails/TapeOnline) | |
** Invoke db2s3:backup:full (first_time) | |
** Invoke environment (first_time) | |
** Execute environment | |
** Execute db2s3:backup:full | |
rake aborted! | |
wrong number of arguments (5 for 4) | |
/Users/jimmy/.rvm/gems/ruby/1.8.7/gems/right_http_connection-1.2.4/lib/net_fix.rb:85:in `send_request_with_body_stream' | |
/Users/jimmy/.rvm/gems/ruby/1.8.7/gems/right_http_connection-1.2.4/lib/net_fix.rb:85:in `exec' |
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
jimmy:~/Projects/Rails/Recruit-Reels [git:master] | |
→ rake db:migrate --trace | |
(in /Users/jimmy/Projects/Rails/Recruit-Reels) | |
** Invoke db:migrate (first_time) | |
** Invoke environment (first_time) | |
** Execute environment | |
** Execute db:migrate | |
rake aborted! | |
uninitialized constant MysqlCompat::MysqlRes | |
/Users/jimmy/Projects/Rails/Recruit-Reels/vendor/rails/activesupport/lib/active_support/dependencies.rb:440:in `load_missing_constant' |
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
!!! | |
%html{ :xmlns => "http://www.w3.org/1999/xhtml" } | |
%head | |
%title Recruit Reels | |
%meta{ :content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type" } | |
%meta{ :name => "robots", :content => "all" } | |
%meta{ :name => "revisit-after", :content => "7 days" } | |
%meta{ :name => "description", :content => "Recruit Reels" } | |
%meta{ :name => "keywords", :content => "recruit reels, recruit videos, recruiting videos, highschool sports videos, sports videographers" } | |
%meta{ :name => "copyright", :content => "© #{Time.now.year} Recruit Reels, Inc. All Rights Reserved." } |
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
%h1 | |
Pricing | |
#content | |
%p | |
Recruit Reels allows you to market your athletic skills to college coaches.. | |
%h2 | |
Packages Overview | |
%h4 | |
Base Package: $299 (5-10 minute maximum) | |
%ul |
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 BasicFormBuilder < ActionView::Helpers::FormBuilder | |
helpers = field_helpers + | |
%w(date_select datetime_select time_select) + | |
%w(collection_select select country_select time_zone_select) - | |
%w(hidden_field label fields_for) | |
helpers.each do |name| | |
define_method(name) do |field, *args| | |
options = args.detect{ |argument| argument.is_a?(Hash) } || {} | |
build_shell(field, options) do |
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
LoadModule passenger_module /Users/jimmy/.rvm/gems/ruby/1.8.7/gems/passenger-2.2.5/ext/apache2/mod_passenger.so | |
PassengerRoot /Users/jimmy/.rvm/gems/ruby/1.8.7/gems/passenger-2.2.5 | |
PassengerRuby /Users/jimmy/.rvm/ruby-1.8.7-p174/bin/ruby | |
Error message: | |
Missing the Rails 2.2.2 gem. Please `gem install -v=2.2.2 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed. | |
jimmy:~ |
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
[Mon Oct 05 14:58:07 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] | |
/Users/jimmy/.rvm/bin/ruby-1.8.7-p174: line 2: syntax error near unexpected token `(' | |
/Users/jimmy/.rvm/bin/ruby-1.8.7-p174: line 2: `puts "rvm installed ruby binaries should *not* be run as the root user (yet): http://rvm.beginrescueend.com/faq/" if (jimmy.strip == "root")' | |
[Mon Oct 05 14:58:08 2009] [notice] Digest: generating secret for digest authentication ... | |
[Mon Oct 05 14:58:08 2009] [notice] Digest: done | |
[Mon Oct 05 14:58:08 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8k DAV/2 Phusion_Passenger/2.2.5 configured -- resuming normal operations | |
/Users/jimmy/.rvm/bin/ruby-1.8.7-p174: line 2: syntax error near unexpected token `(' | |
/Users/jimmy/.rvm/bin/ruby-1.8.7-p174: line 2: `puts "rvm installed ruby binaries should *not* be run as the root user (yet): http://rvm.beginrescueend.com/faq/" if (jimmy.strip == "root")' | |
/Users/jimmy/.rvm/bin/ruby-1.8.7-p174: line 2: syntax error near unexpected t |
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
xml = Builder::XmlMarkup.new | |
xml.chart(:palette=>'4', :caption=>'Weekly Sales By Warehouse', :PYAxisName=>'Quantity Ordered', :formatNumberScale=>'1', :rotateValues=>'1', :placeValuesInside=>'1', :decimals=>'0') do | |
xml.categories do | |
for week in @nashville.sales_by_week | |
xml.category | |
end | |
end | |
xml.dataset(:seriesName => 'Revenue', :showValues => '0') do | |
for week in @nashville.sales_by_week |
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
/* ------------------------------------------------------------------------------------------------- | |
Load this stylesheet after formtastic.css in your layouts to override the CSS to suit your needs. | |
This will allow you to update formtastic.css with new releases without clobbering your own changes. | |
For example, to make the inline hint paragraphs a little darker in color than the standard #666: | |
form.formtastic fieldset ol li p.inline-hints { color:#333; } | |
--------------------------------------------------------------------------------------------------*/ |
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
select u.id, u.first_name, u.last_name, u.email, | |
(select so.shipto_postal_code from sales_orders so where so.user_id = u.id and so.state != 'pending' order by so.placed_at desc limit 1) | |
from users u | |
where | |
u.contact_me = 1 |