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
# [email protected] in ~/Projects/rax on git:master x [19:12:41] | |
$ rails s | |
=> Booting Puma | |
=> Rails 6.0.0.beta3 application starting in development | |
=> Run `rails server --help` for more startup options | |
[email protected]: autoload set for EmailValidator, to be loaded from /Users/jan/Projects/rax/app/validators/email_validator.rb | |
[email protected]: autoload set for IssuesEvent, to be loaded from /Users/jan/Projects/rax/app/models/events/issues_event.rb | |
[email protected]: autoload set for CreateEvent, to be loaded from /Users/jan/Projects/rax/app/models/events/create_event.rb | |
[email protected]: autoload set for PlanChannel, to be loaded from /Users/jan/Projects/rax/app/channels/plan_channel.rb | |
[email protected]: autoload set for ApplicationCable, to be autovivified from /Users/jan/Projects/rax/app/channels/application_cable |
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
# frozen_string_literal: true | |
class Settings::AvatarsController < SettingsController | |
before_action :set_person | |
before_action :set_avatar | |
def create | |
@avatar = @person.avatar || Avatar.new(user: current_user) | |
@avatar.update avatar_params.merge(crop_x: nil, crop_y: nil, crop_width: nil, crop_height: nil) |
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
# [email protected] in ~/Projects/rax on git:master x [19:10:00] | |
$ rails s | |
=> Booting Puma | |
=> Rails 6.0.0.beta3 application starting in development | |
=> Run `rails server --help` for more startup options | |
[email protected]: autoload set for EmailValidator, to be loaded from /Users/jan/Projects/rax/app/validators/email_validator.rb | |
[email protected]: autoload set for IssuesEvent, to be loaded from /Users/jan/Projects/rax/app/models/events/issues_event.rb | |
[email protected]: autoload set for CreateEvent, to be loaded from /Users/jan/Projects/rax/app/models/events/create_event.rb | |
[email protected]: autoload set for PlanChannel, to be loaded from /Users/jan/Projects/rax/app/channels/plan_channel.rb | |
[email protected]: autoload set for ApplicationCable, to be autovivified from /Users/jan/Projects/rax/app/channels/application_cable |
OlderNewer