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
/usr/local/rvm/gems/ruby-2.1.3/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:294:in `join' | |
/usr/local/rvm/gems/ruby-2.1.3/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>' | |
/usr/local/rvm/gems/ruby-2.1.3/bin/unicorn:23:in `load' | |
/usr/local/rvm/gems/ruby-2.1.3/bin/unicorn:23:in `<main>' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `eval' | |
/usr/local/rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `<main>' | |
E, [2014-12-12T10:00:38.884234 #562] ERROR -- : reaped #<Process::Status: pid 13490 exit 1> worker=1 | |
I, [2014-12-12T10:00:38.884385 #562] INFO -- : worker=1 spawning... | |
I, [2014-12-12T10:00:38.893092 #13502] INFO -- : worker=1 spawned pid=13502 |
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
passenger-config was invoked through the following Ruby interpreter: | |
Command: /usr/bin/ruby1.9.1 | |
Version: ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux] | |
To use in Apache: PassengerRuby /usr/bin/ruby1.9.1 | |
To use in Nginx : passenger_ruby /usr/bin/ruby1.9.1 | |
To use with Standalone: /usr/bin/ruby1.9.1 /var/lib/gems/1.9.1/gems/passenger-5.0.0.beta1/bin/passenger start | |
The following Ruby interpreter was found first in $PATH: | |
Command: /home/webadmin/.rbenv/shims/ruby | |
Version: ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux] |
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
his webpage is not available | |
Hide details | |
The webpage at http://www.doubleacoding.com/ might be temporarily down or it may have moved permanently to a new web address. | |
Error code: ERR_INVALID_CHUNKED_ENCODING |
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
rbenv | |
-sh: 5: rbenv: not found |
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
I have a section that has a polymorphic association with codeblock | |
@section = Section.first | |
it was created by | |
@codeblock = Codeblock.create(codeblock_params) | |
if @codeblock.save | |
@section = @step.sections.build | |
@section.item = @codeblock | |
@section.save | |
end | |
Here is the section. |
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
vagrant@precise64:/vagrant/cins465-p7/tutorialcreator$ rails c | |
Loading development environment (Rails 4.1.2) | |
[1] pry(main)> Step | |
=> Step (call 'Step.connection' to establish a connection) | |
[2] pry(main)> Step.all | |
Step Load (7.1ms) SELECT "steps".* FROM "steps" | |
=> [#<Step id: 6, title: "step one", problem: "need a step", solution: "i made a step", tutorial_id: nil, created_at: "2014-12-09 | |
05:39:05", updated_at: "2014-12-09 05:39:05">] | |
[3] pry(main)> @steps = Step.all | |
Step Load (1.4ms) SELECT "steps".* FROM "steps" |
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
rails generate model section:references{polymorphic}:index step:references<p> | |
<%= form_for step.codeblocks.build, url: tutorial_step_codeblocks_path(tutorial_id, step.id), method: :post do |codeblock| %> | |
<div class="field"> | |
<%= codeblock.label :code %> | |
<%= codeblock.text_area :code %> | |
</div> | |
<div class="field"> | |
<%= codeblock.label :description %> | |
<%= codeblock.text_area :description %> |
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
rails generate model section:references{polymorphic}:index step:references |
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
public class FeaturedFragment extends BaseStaggeredGridFragment<Offer> { | |
private static final String TAG = FeaturedFragment.class.getSimpleName(); | |
private static final String SAVED_BANNER_TAG = FeaturedFragment.class.getSimpleName() + "_BANNER"; | |
public static final int POSITION = 0; | |
private Market mMarket; | |
private View mHeader = null; | |
private WebView mWebView; |
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
<p> | |
<%= form_for step.screenshots.build, url: tutorial_step_screenshots_path(tutorial_id, step.id), method: :post do |screenshot| %> | |
<div class="field"> | |
<%= screenshot.label :caption %> | |
<%= screenshot.text_field :caption %> | |
</div> | |
<div class="field"> | |
<%= screenshot.label :description %> | |
<%= screenshot.text_area :description %> |