Skip to content

Instantly share code, notes, and snippets.

@tarator
Last active August 21, 2017 06:54
Show Gist options
  • Save tarator/a90c2645888245f96a9056790a2ccf52 to your computer and use it in GitHub Desktop.
Save tarator/a90c2645888245f96a9056790a2ccf52 to your computer and use it in GitHub Desktop.
[2017-08-21T08:34:43] INFO PID-20739 TID-10247120 Rails: Started GET "/profile/edit" for 84.113.5.52 at 2017-08-21 08:34:43 +0200
[2017-08-21T08:34:43] INFO PID-20739 TID-10247120 ActionController::Base: Processing by ProfilesController#edit as HTML
[2017-08-21T08:34:43] INFO PID-20739 TID-10247120 ActionController::Base: Completed 500 Internal Server Error in 29ms (ActiveRecord: 1.0ms)
[2017-08-21T08:34:43] FATAL PID-20739 TID-10247120 Rails:
[2017-08-21T08:34:43] FATAL PID-20739 TID-10247120 Rails: ActionView::Template::Error (undefined method `to_i' for true:TrueClass):
[2017-08-21T08:34:43] FATAL PID-20739 TID-10247120 Rails: 30: %h4= t('profiles.edit.your_birthday')
31:
32: #birth-date.form-inline
33: = select_date profile.birthday, { prompt: true, default: true, order: t('date.order'),
34: start_year: upper_limit_date_of_birth, end_year: lower_limit_date_of_birth, prefix: 'profile[date]' },
35: { class: 'form-control'}
36:
[2017-08-21T08:34:43] FATAL PID-20739 TID-10247120 Rails:
[2017-08-21T08:34:43] FATAL PID-20739 TID-10247120 Rails: app/helpers/profile_helper.rb:8:in `upper_limit_date_of_birth'
app/views/profiles/_edit_private.haml:33:in `_app_views_profiles__edit_private_haml__1599253553374241329_51600180'
app/views/profiles/edit.haml:18:in `block in _app_views_profiles_edit_haml___3872975849761978446_64653440'
app/views/profiles/edit.haml:16:in `_app_views_profiles_edit_haml___3872975849761978446_64653440'
lib/rack/internet_explorer_version.rb:34:in `call'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment