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
# Created by Octave 3.8.0, Fri Mar 02 15:06:33 2018 JST <seiyamaeda@SeiyanoMacBook-Pro.local> | |
# name: A | |
# type: matrix | |
# rows: 3 | |
# columns: 2 | |
1 2 | |
2 4 | |
5 6 | |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
/ the way it uses font awesome | |
= link_to '#', data: { toggle: 'modal', target: '#hoge-modal' } do | |
i.fa.fa-question-circle | |
end | |
== render partial: 'layouts/shared/modals/hoge' |
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
def get_datetime_converted_from_time | |
time = Time.zone.now | |
splited_time = params[:object][:time].split(':') | |
local_time = Time.local( | |
time.year, | |
time.month, | |
time.day, | |
splited_time.first.to_i, | |
splited_time.last.to_i,) |
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
def send_email_to_user | |
email_params = { | |
subject: params[:subject], | |
to_email: params[:to_email], | |
from_email: params[:from_email], | |
description: params[:description],} | |
HogeMailer.send_email_to_user(email_params) | |
render :nothing => true | |
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
gem 'kaminari' |
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
$(document).on 'turbolinks:load', -> | |
do -> | |
$('.disabled-link').click (e) -> | |
e.preventDefault() | |
return |
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
gem 'cocoon' | |
gem 'jquery-rails' |
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 admin-lte/plugins/datepicker/bootstrap-datepicker | |
//= require admin-lte/plugins/datepicker/locales/bootstrap-datepicker.ja |