fluentd-ui/app/controllers
Kouhei Sutou 8e8c95fce3 in_tail: Fix error on setting page for binary file
How to reproduce:

  * Create a binary file by the following command:

        "ruby -e 'puts "\u3042"' > /tmp/xxx"

  * Open /daemon/setting/in_tail
  * Select "/tmp/xxx"
  * Error page is rendered
  * log/production.log says:

        ActionView::Template::Error (undefined method `join' for nil:NilClass):
            12:     = f.text_field :path, class: "form-control", disabled: true
            13:   = render partial: "shared/vue/in_tail_format", locals: { file: f.object.path, formats: @setting.known_formats, initialSelected: f.object.format || @setting.guess_format }
            14:
            15:   %pre= file_tail(@setting.path).join("\n")
            16:
            17:   %p
            18:     = f.submit t('terms.next'), class: "btn btn-lg btn-primary pull-right"
          app/views/fluentd/settings/in_tail/after_file_choose.html.haml:15:in `block in _app_views_fluentd_settings_in_tail_after_file_choose_html_haml___1713159989942914940_40548520'
2014-08-06 17:34:23 +09:00
..
concerns rails new ./fluentd-ui -T -D 2014-05-08 15:53:16 +09:00
fluentd setting_params should be normally 2014-07-31 18:30:46 +09:00
api_controller.rb in_tail: Fix error on setting page for binary file 2014-08-06 17:34:23 +09:00
application_controller.rb in_tail: Fix error on setting page for binary file 2014-08-06 17:34:23 +09:00
fluentd_controller.rb Switching brand name with ENV 2014-07-24 16:03:45 +09:00
misc_controller.rb Add uname -a to system_info.zip. Fix #66 2014-07-30 11:11:05 +09:00
plugins_controller.rb Fix plugins handling 2014-07-28 15:28:59 +09:00
polling_controller.rb Add polling alerts point on rails 2014-05-29 14:18:46 +09:00
sessions_controller.rb Only store password if default password is used 2014-07-31 18:30:46 +09:00
tutorials_controller.rb Remove unnecessary return 2014-07-31 17:17:14 +09:00
users_controller.rb Remove ActiveRecord from User and RememeberToken 2014-06-19 16:28:34 +09:00
welcome_controller.rb Fix route name fluentd -> daemon by sed 2014-07-24 15:28:04 +09:00