This file contains 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
Warning: Your Xcode is configured with an invalid path. | |
You should change it to the correct path. Please note that there is no correct | |
path at this time if you have *only* installed the Command Line Tools for Xcode. | |
If your Xcode is pre-4.3 or you installed the whole of Xcode 4.3 then one of | |
these is (probably) what you want: | |
sudo xcode-select -switch /Developer | |
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer |
This file contains 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
<!-- GIST Renderer --> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
<link rel="stylesheet" href="https://gist.github.com/stylesheets/gist/embed.css"/> | |
<script type="text/javascript"> | |
var cachedWrite = document.write, | |
body = $('body'), | |
gists = $("a[href*='gist.github.com'][href$='#embed']").get(), | |
embedNextGist = function() { | |
if (gists.length == 0) { | |
document.write = cachedWrite; |
This file contains 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
module SimpleForm::ActionViewExtensions::FormHelper | |
def simple_form_for_with_defaults(record, options={}, &block) | |
# define defaults here | |
simple_form_for_without_defaults(record, options, &block) | |
end | |
alias_method_chain :simple_form_for, :defaults | |
end |
This file contains 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
GIT | |
remote: git://github.com/assembler/rails-erd.git | |
revision: 53e01cf74f6f051bcdb283847d145ef84ce19dc4 | |
specs: | |
rails-erd (0.5.0pre) | |
activerecord (~> 3.0) | |
activesupport (~> 3.0) | |
choice (~> 0.1.4) | |
ruby-graphviz (~> 1.0) |
This file contains 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
default_settings: &default_settings | |
# whether to override image_tag helper with cl_image_tag | |
enhance_image_tag: false | |
# ... | |
static_image_support: false | |
development: | |
<<: *default_settings | |
cloud_name: "xxx" |
This file contains 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
GIT | |
remote: git://github.com/assembler/rails-erd.git | |
revision: 53e01cf74f6f051bcdb283847d145ef84ce19dc4 | |
specs: | |
rails-erd (0.5.0pre) | |
activerecord (~> 3.0) | |
activesupport (~> 3.0) | |
choice (~> 0.1.4) | |
ruby-graphviz (~> 1.0) |
This file contains 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
newrelic_rpm (3.3.4) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:166:in `render_with_newrelic' | |
actionpack (3.2.3) lib/action_view/renderer/renderer.rb:41:in `render_partial' | |
actionpack (3.2.3) lib/action_view/helpers/rendering_helper.rb:27:in `render' | |
app/views/notifications/index.html.erb:10:in `block in _app_views_notifications_index_html_erb___3212508411209234601_70332619008280' | |
actionpack (3.2.3) lib/action_view/helpers/cache_helper.rb:53:in `fragment_for' | |
actionpack (3.2.3) lib/action_view/helpers/cache_helper.rb:36:in `cache' | |
app/views/notifications/index.html.erb:8:in `_app_views_notifications_index_html_erb___3212508411209234601_70332619008280' | |
actionpack (3.2.3) lib/action_view/template.rb:143:in `block in render' | |
activesupport (3.2.3) lib/active_support/notifications.rb:125:in `instrument' | |
actionpack (3.2.3) lib/action_view/template.rb:141:in `render' |
This file contains 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
GIT | |
remote: git://github.com/assembler/rails-erd.git | |
revision: 53e01cf74f6f051bcdb283847d145ef84ce19dc4 | |
specs: | |
rails-erd (0.5.0pre) | |
activerecord (~> 3.0) | |
activesupport (~> 3.0) | |
choice (~> 0.1.4) | |
ruby-graphviz (~> 1.0) |
This file contains 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
context 'with attachment' do | |
let(:file) { | |
Rack::Test::UploadedFile.new(Rails.root.join('spec/support/image.jpg'), 'image/jpeg') | |
} | |
let(:cloudinary_response) { | |
{ public_id: "rqdrdaexlgjy5j1hoabig", version: 1338884873, format: 'jpg', resource_type: 'image' } | |
} | |
before do |
This file contains 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
------------XnJLe9ZIbbGUYtzPQJ16u1 | |
Content-Disposition: form-data; name="note[body]" | |
Voila | |
------------XnJLe9ZIbbGUYtzPQJ16u1 | |
Content-Disposition: form-data; name="note[photo_file]"; filename="image.jpg" | |
Content-Type: image/jpeg | |
Content-Length: 1293 | |
????JFIFHH??>CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), default quality |