change log_level

This commit is contained in:
yqbk
2016-07-11 15:28:34 +02:00
parent 4b6ec8c79c
commit 625ec68e5a
4 changed files with 4 additions and 2 deletions

BIN
app/assets/.DS_Store vendored

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +1,5 @@
- id = f.object.id - id = f.object.id
- file= f.object.files.first - file= f.object.files.first
//- exercise_arg = @exercise
li.panel.panel-default li.panel.panel-default
.panel-heading role="tab" id="heading" .panel-heading role="tab" id="heading"
@ -39,7 +38,8 @@ li.panel.panel-default
.form-group .form-group
= f.label(:role, t('activerecord.attributes.file.weight')) = f.label(:role, t('activerecord.attributes.file.weight'))
= f.number_field(:weight, class: 'form-control', min: 1, step: 'any') = f.number_field(:weight, class: 'form-control', min: 1, step: 'any')
.frame data-executable=file.file_type.executable? data-filename=file.name_with_extension data-renderable=file.file_type.renderable? data-role=file.role data-binary=file.file_type.binary? data-context-type=file.context_type = f.label(file.id)
/.frame data-executable=file.file_type.executable? data-filename=file.name_with_extension data-renderable=file.file_type.renderable? data-role=file.role data-binary=file.file_type.binary? data-context-type=file.context_type
- if file.file_type.binary? - if file.file_type.binary?
.binary-file data-file-id=file.ancestor_id .binary-file data-file-id=file.ancestor_id
- if file.file_type.renderable? - if file.file_type.renderable?

View File

@ -22,6 +22,8 @@ module CodeOcean
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
config.time_zone = 'Berlin' config.time_zone = 'Berlin'
config.log_level = :warn
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]