일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- RUBY
- Visual Studio Code
- Ruby on Rails
- 이것이 자바다
- install
- change_column_null
- 오랜지파이
- 주차장 시스템
- after_update
- with_indifferent_access
- Kotlin
- after_save
- docket
- 우분투 24
- 도커
- change_column
- Time.znoe.now
- mac
- 쿠버네티스
- 우분투
- 설치
- MySQL
- ubuntu
- docker
- ruby #string #strip #split #gsub
- Java
- Orange Pi 3B
- 사용중인포트검색
- Migrate
- Rails
- Today
- Total
목록Back-End /Ruby On Rails (34)
중고 신입이 개발해보기..
마이그레이션 # ./bin/rails db:migrate 롤백하기 # ./bin/rails db:rollback 마이그레이션 상태 보기 #./bin/rake db:migrate:status up 20200903071549 ********** NO FILE ********** up 20200903071603 ********** NO FILE ********** up 20201005053504 Create User up 20201012013519 ********** NO FILE ********** up 20201013012806 ********** NO FILE **********

https://rubyinrails.com/2019/04/08/rails-changed-behavior-of-attribute-changed-in-callbacks/ Rails changed behavior of attribute_changed in callbacks Rails changed behavior of attribute_changed? in after and before callbacks. Older versions will throw deprecation warnings indicating which methods to use instead. When working on Rails 5.1.5 project, a warning was thrown in rails server logs. DEPR..
https://github.com/activeadmin/activeadmin/wiki/Auditing-via-paper_trail-%28change-history%29 activeadmin/activeadmin The administration framework for Ruby on Rails applications. - activeadmin/activeadmin github.com

참고 채널 : https://youtu.be/QojnRc7SS9o ㄴ 유투브중에 간단하게 API를 만드는 방법이 나와서 따라하기 진행~~ 현재 Rails 6를 사용중.. * 모델 생성 $ ./bin/rails g model Article title:string body:string class CreateArticles < ActiveRecord::Migration[6.0] def change create_table :articles do |t| t.string :title t.text :body t.timestamps end end end 모델에 데이터를 입력해주기 위해서 faker 설치 ( https://github.com/faker-ruby/faker ) group :development do gem..

관련 사이트 https://qiita.com/suketa/items/3f5ff1c7d0d7d215a532 Rails6 のちょい足しな新機能を試す40(Webpacker Bootstrap編) - Qiita # はじめに Rails 6 に追加されそうな新機能を試す第40段。 今回は、 `Webpacker Bootstrap` 編です。 Rails 6 では、 `Webpacker` がデフォルトで導入されるようになります。 Rub... qiita.com https://gorails.com/episodes/how-to-use-bootstrap-with-webpack-and-rails How to use Bootstrap with Webpack & Rails (Example) | GoRails - GoRails Rails's webp..

https://www.for-engineer.life/entry/rails-int-migration/ Railsでbigint(20) やtinyint(4)を使う時のマイグレーションファイルの編集方法 今回、Railsでbigint(20) やtinyint(4)を使う時のマイグレーションファイルの編集方法についてご紹介します。 www.for-engineer.life 쓸데없이 큰거 잡을 필요없이.. 작은게 필요하면 작게 선언하자.
이페이지는 Rails에 관련된 사이트를.. 모아보겟다 루비 온 레일즈 사이트 ㄴ http://rubyonrails.org/ Ruby on Rails A web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern. rubyonrails.org 루비 온 레이즈 가이드 ㄴ http://guides.rubyonrails.org/ Ruby on Rails Guides Ruby on Rails Guides guides.rubyonrails.org Ruby On Rails Tutorial ㄴ https:..
5.2 버전부터 credentials.yml.enc 지원된다. - ./config/ 폴더안에 존재하며 - master.key파일이 존재해야 열수 있다. 즉~~ ./config/credentials.yml.enc ./config/master.key 두파일이 있어야됨 수정 방법 $ EDITOR=vim rails credentials:edit 실행하면 된다. development: database_url: mysql2://db:3306/hellorails_dev test: database_url: mysql2://db:3306/hellorails_test production: database_url: mysql2://hellorails:hellorails123@1.1.1.1:3306/hellorailsdev ..