差分

移動先: 案内検索

Tepnote

2,444 バイト追加, 2021年10月10日 (日) 08:14
migration
| note_role || note(jiin)のアクセスレベル || app/controllers/application_controller.rb
|-
| action_role || アクションへのアクセスコントロール || app/controllers/|-| controller_name_overlap || コントローラー名の重複登録を避ける || app/controllers/action_roles_controller.rb|-| set_feed_jiins || ユーザーのノート(jiin)を表示する すべてのページで必要 || app/controllers/|-| || || |-| || || |-| || || |-| || ||
|}
{| class="wikitable sortable"
|-
! |||-| || rails generate model client name:string yomi:string ie_id:integer nusi:boolean memo:string order:integer generation:string user:references note:references|-| やり直し || rails destroy model client name:string yomi:string ie_id:integer nusi:boolean memo:string order:integer generation:string user:references note:references|-| || rails generate controller settings index property bankbook account description postscript|-| || rails generate controller role_settings index show new edit create update destroy|-| やり直し || rails destroy controller role_settings index show new edit create update destroy|-| || rails generate migration add_admin_to_users admin:boolean|-| やり直し || rails destroy migration add_order_to_categories order:integer|-| |||} == migration =={| class="wikitable sortable"|-! 見出しテキスト!! 見出しテキスト|-| || rails db:migrate|-| || rails db:migrate:status
|-
| やり直し || rails generate model client namedb:string yomi:string ie_id:integer nusi:boolean memo:string order:integer generation:string userrollback STEP=1 rails db:references noterollback STEP=2 [https:references//railsguides.jp/active_record_migrations.html 参考]
|-
| || rails generate controller settings index property bankbook account description postscriptdb:seed
|-
| || rails db:migrate:reset|-| セル内のテキスト || セル内のテキスト
|}
 
== 覚書 ==
{| class="wikitable sortable"
| javascript読み込み || <%= javascript_pack_tag 'shared/note_form' %>
|-
| セル内のテキスト ルーティングの確認 || セル内のテキストrails routes|-| s3セッティング || heroku config:set AWS_ACCESS_KEY_ID="xxxx"|-| || heroku config:set AWS_SECRET_ACCESS_KEY="xxxx"|-| || heroku config:set AWS_BUCKET="tepnote"|-| || heroku config:set AWS_REGION="ap-northeast-1"|-| 郵便番号から検索 || app/views/layouts/application.html.erb [https://pinzolo.github.io/2017/03/15/yubinbango-with-turbolinks.html 参考] <script src="https://yubinbango.github.io/yubinbango/yubinbango.js" charset="UTF-8"></script>|-| 【jQuery】要素を指定するセレクタの使い方 || [http://www.hp-stylelink.com/news/2013/11/20131122.php 参考]|-| 一括登録フォーム || [https://rails.densan-labs.net/form/bulk_registration_form.html 参考]|-| Prawn pdfを出力するリンク ||<%= link_to "PDFを表示", 適宜指定_path(format: "pdf") %>|-| Turbolinks || [https://www.autovice.jp/articles/142 参考]|-| Calendar || [https://code-notes.com/lesson/31 参考]|-| 0埋め || format|-| puma.rb | workers Integer(ENV['WEB_CONCURRENCY'] || 2) [https://qiita.com/yo-iida/items/20e86e913000f6d080ca 参考]|-| モーダルウィンドウ || [https://tech-dig.jp/js-modal/ 参考]|-|
|}

案内メニュー