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
changes = ResourceRecordSets(conn_r53, config.Global.MALUUBA_HOSTED_ZONE_ID) | |
changeCName = changes.add_change('DELETE', '%s.internal.maluuba.com.' % Config.SERVICE_ID , 'CNAME') | |
changeCName = changes.add_change('CREATE', '%s.internal.maluuba.com.' % Config.SERVICE_ID , 'CNAME') | |
changeCName.add_value(load_balancer.dns_name) | |
changes.commit() |
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
~|⇒ rvm --trace use macruby | |
+__rvm_parse_args:615> [[ -n 4.3.11 ]] | |
+__rvm_parse_args:649> [[ -z use ]] | |
+__rvm_parse_args:652> [[ error == use || 0 -eq 1 || -n '' ]] | |
+__rvm_parse_args:16> [[ -n use ]] | |
+__rvm_parse_args:18> rvm_token=use | |
+__rvm_parse_args:20> (( 1 > 0 )) | |
+__rvm_parse_args:22> next_token=macruby | |
+__rvm_parse_args:23> shift | |
+__rvm_parse_args:28> case use ([[:alnum:]]*|@*) |
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
SticksAndFlicks|master⚡ ⇒ rails server | |
=> Booting WEBrick | |
=> Rails 3.2.8 application starting in development on http://0.0.0.0:3000 | |
=> Call with -d to detach | |
=> Ctrl-C to shutdown server | |
Exiting | |
/Users/Drewch/.rvm/gems/ruby-1.9.3-p125@sticksandflicks/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:181:in `default_controller_and_action': missing :controller (ArgumentError) | |
from /Users/Drewch/.rvm/gems/ruby-1.9.3-p125@sticksandflicks/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:78:in `normalize_options!' | |
from /Users/Drewch/.rvm/gems/ruby-1.9.3-p125@sticksandflicks/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:61:in `initialize' | |
from /Users/Drewch/.rvm/gems/ruby-1.9.3-p125@sticksandflicks/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:1304:in `new' |
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
SticksAndFlicks|master⚡ ⇒ rails generate migration add_posttype_to_post post_type:integer | |
/Users/Drewch/.rvm/gems/ruby-1.9.3-p125@sticksandflicks/gems/factory_girl-2.6.4/lib/factory_girl/registry.rb:39:in `add_as': Factory already registered: blog (FactoryGirl::DuplicateDefinitionError) | |
from /Users/Drewch/.rvm/gems/ruby-1.9.3-p125@sticksandflicks/gems/factory_girl-2.6.4/lib/factory_girl/registry.rb:11:in `block in add' | |
from /Users/Drewch/.rvm/gems/ruby-1.9.3-p125@sticksandflicks/gems/factory_girl-2.6.4/lib/factory_girl/registry.rb:11:in `each' | |
from /Users/Drewch/.rvm/gems/ruby-1.9.3-p125@sticksandflicks/gems/factory_girl-2.6.4/lib/factory_girl/registry.rb:11:in `add' | |
from /Users/Drewch/.rvm/gems/ruby-1.9.3-p125@sticksandflicks/gems/factory_girl-2.6.4/lib/factory_girl.rb:40:in `register_factory' | |
from /Users/Drewch/.rvm/gems/ruby-1.9.3-p125@sticksandflicks/gems/factory_girl-2.6.4/lib/factory_girl/syntax/default.rb:24:in `factory' | |
from /Users/Drewch/code/SticksAndFlicks/SticksAndFlicks/test/factories/blogs |
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 class='field'> | |
<%= f.label 'Article Image' -%> | |
<%= render :partial => "/refinery/admin/image_picker", :locals => { | |
:f => f, | |
:field => :article_image_id, | |
:image => f.object.image, | |
:toggle_image_display => false | |
} %> | |
</div> |
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
Noctilucent|master⚡ ⇒ bundle install | |
Fetching gem metadata from https://rubygems.org/. | |
Error Bundler::HTTPError during request to dependency API | |
Fetching full source index from https://rubygems.org/ | |
/Users/Drewch/.rvm/gems/ruby-1.9.3-p286@global/gems/bundler-1.2.1/lib/bundler.rb:263: warning: Insecure world writable dir /Users/Drewch/bin in PATH, mode 040777 | |
Using rake (0.9.2.2) | |
Using i18n (0.6.1) | |
Using multi_json (1.3.6) | |
Using activesupport (3.2.8) | |
Using builder (3.0.4) |
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
%header | |
%nav.round | |
%ul | |
%li= link_to "Home", root_path | |
%li= link_to "Help", help_path | |
-if signed_in? | |
%li= link_to "Profile", current_user | |
%li= link_to "Sign out", signout_path, method: 'delete' | |
-else | |
%li= link_to "Sign in", signin_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
%header.navbar.navbar-fixed-top | |
.navbar-inner | |
.container | |
=link_to "Noctilucent", "#", id: "logo" | |
%nav | |
%ul.nav.pull-right | |
%li= link_to "Home", '#' | |
%li= link_to "Help", '#' | |
-if signed_in? | |
%li#fat-menu.dropdown="Account" |
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
require 'spec_helper' | |
describe "ServicePages" do | |
subject { page } | |
describe "Index Page" do | |
before do | |
FactoryGirl.create(:service) |
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
>> ['', ''].compact.reject! { |c| c.blank? } | |
=> [] | |
>> ['', '234'].compact.reject! { |c| c.blank? } | |
=> ["234"] | |
>> ['234'].compact.reject! { |c| c.blank? } | |
=> nil |
OlderNewer