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
require 'test_helper' | |
describe AccountsController do | |
# class AccountsControllerTest < ActionDispatch::IntegrationTest | |
before do | |
user = users(:glenn) | |
sign_in(user) | |
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
<% @models.each_with_index do |m, index| %> | |
<th class="center-text model_column_span" colspan="<%= current_school.helicopters.active.joins{ helimodel }.where{ helimodel.nickname.eq( m ) }.order("helimodels.nickname asc").length %>"><%= m %></th> | |
<%= "(#{@models.length-1} - #{index}), " %> | |
<% if @models.length-1 == index %> | |
<%= "</tr> <tr>".html_safe %> | |
<% end %> | |
<th class="time">Time</th> |
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
<div class="well top_box"> | |
<h3>LESSON</h3> | |
<%= f.association :flightlesson %> | |
<div id="load_box"> | |
<p id="gradable_items"></p> | |
<p id="scenarios"></p> | |
</div> | |
</div> |
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
heroku logs (see line 34) | |
2013-01-11T21:14:34+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:in `method_missing' | |
2013-01-11T21:14:34+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.3/lib/rack/builder.rb:51:in `instance_eval' | |
2013-01-11T21:14:34+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.3/lib/rack/builder.rb:51:in `initialize' | |
2013-01-11T21:14:34+00:00 app[web.1]: from config.ru:1:in `new' | |
2013-01-11T21:14:34+00:00 app[web.1]: from config.ru:1:in `<main>' | |
2013-01-11T21:14:34+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/initializable.rb:30:in `run' | |
2013-01-11T21:14:34+00:00 app[web.1]: from config.ru:3:in `require' | |
2013-01-11T21:14:34+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in `eval' |