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
| 2012-01-17 20:41:42] ./configure --prefix=/Users/drale2k/.rvm/rubies/ruby-1.9.3-p0 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/drale2k/.rvm/usr | |
| configure: WARNING: unrecognized options: --with-libyaml | |
| checking build system type... x86_64-apple-darwin11.2.0 | |
| checking host system type... x86_64-apple-darwin11.2.0 | |
| checking target system type... x86_64-apple-darwin11.2.0 | |
| checking whether the C compiler works... no | |
| configure: error: in `/Users/drale2k/.rvm/src/ruby-1.9.3-p0': | |
| configure: error: C compiler cannot create executables |
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
| 012-01-20T07:17:00+00:00 app[web.1]: 8: </head> | |
| 2012-01-20T07:17:00+00:00 app[web.1]: 7: <%= csrf_meta_tags %> | |
| 2012-01-20T07:17:00+00:00 app[web.1]: | |
| 2012-01-20T07:17:00+00:00 app[web.1]: | |
| 2012-01-20T07:17:00+00:00 app[web.1]: cache: [GET /] miss | |
| 2012-01-20T07:17:00+00:00 app[web.1]: app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__1513728309625252731_14647000' | |
| 2012-01-20T07:17:04+00:00 app[web.1]: | |
| 2012-01-20T07:17:04+00:00 app[web.1]: Started GET "/pages/home" for 84.113.196.96 at 2012-01-19 23:17:04 -0800 | |
| 2012-01-20T07:17:04+00:00 app[web.1]: | |
| 2012-01-20T07:17:04+00:00 app[web.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
| it "should have the right links on the layout" do | |
| visit root_path | |
| response.should have_selector('title', :content => 'Home') | |
| click_link "Home" | |
| response.should have_selector('title', :content => 'Home') | |
| click_link "About" | |
| response.should have_selector('title', :content => 'About') |
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 L.id, L.name, L.description, L.created_at, | |
| GROUP_CONCAT( | |
| DISTINCT CONCAT(C.lat, ":", C.lng) | |
| ORDER BY C.coordinate_order ASC SEPARATOR ", " | |
| ) AS coordinates, | |
| GROUP_CONCAT( | |
| DISTINCT CONCAT(M.media_type, "#", M.media_url) | |
| ) AS media | |
| FROM locations AS L |
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 LocationsController < ApplicationController | |
| respond_to :json, :xml | |
| def index | |
| @locations = Location.all | |
| @locations.as_json | |
| end | |
| end |
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
| [ | |
| { | |
| "description": | |
| "Die Wiener Stadhalle", | |
| "lat": | |
| null, | |
| "lng": | |
| null, | |
| "name": | |
| "Stadthalle", |
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
| [ | |
| { | |
| "description":"Die Wiener Stadhalle", | |
| "lat":null, | |
| "lng":null, | |
| "name":"Stadthalle", | |
| "updated_at":"2012-01-24T11:28:19Z", | |
| "bounds":[ | |
| { | |
| "lat":13.133456, |
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 | |
| @locations = Location.all | |
| respond_with @locations.as_json( | |
| :except => [:id, :created_at], | |
| :include => { | |
| :bounds => { | |
| :only => [:lat, :lng] | |
| }, | |
| :media => { |
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
| 2012-01-26T21:36:18+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>' | |
| 2012-01-26T21:36:18+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `require' | |
| 2012-01-26T21:36:18+00:00 app[web.1]: from /app/config.ru:1:in `new' | |
| 2012-01-26T21:36:18+00:00 app[web.1]: from /app/config.ru:1:in `<main>' | |
| 2012-01-26T21:36:18+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.0/lib/rack/server.rb:200:in `app' | |
| 2012-01-26T21:36:18+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.0/lib/rails/commands/server.rb:46:in `app' | |
| 2012-01-26T21:36:18+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.0/lib/rack/builder.rb:40:in `eval' | |
| 2012-01-26T21:36:18+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.0/lib/rack/builder.rb:40:in `parse_file' | |
| 2012-01-26T21:36:18+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.0/lib/rack/server.rb:252:in `start' | |
| 20 |
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
| 2012-01-27T13:32:20+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `block in require' | |
| 2012-01-27T13:32:20+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:236:in `load_dependency' | |
| 2012-01-27T13:32:20+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.0/lib/rack/builder.rb:51:in `instance_eval' | |
| 2012-01-27T13:32:20+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `require' | |
| 2012-01-27T13:32:20+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.0/lib/rack/builder.rb:40:in `eval' | |
| 2012-01-27T13:32:20+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.0/lib/rack/builder.rb:40:in `parse_file' | |
| 2012-01-27T13:32:20+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.0/lib/rails/commands/server.rb:46:in `app' | |
| 2012-01-27T13:32:20+00:00 app[web.1 |
OlderNewer