중고 신입이 개발해보기..

Ruby On Rails : Model 본문

Back-End /Ruby On Rails

Ruby On Rails : Model

rootkaien 2019. 3. 5. 15:55





find 

find_by 





where

not 

order

reorder

select

distinct

limit

offset

group

having

joins

includes

readonly

none 




pluck

exists?





scope 


default_scope


count


average(col)

minimum(col)

maximum(col)

sum(col)





find_by_sql




update_all

destroy

delete

destroy_all


'Back-End > Ruby On Rails' 카테고리의 다른 글

Ruby On Rails - Active Admin - Active Storage  (0) 2019.03.26
Ruby On Rails - Slack Noti  (0) 2019.03.25
이미지업로드 Gem Carrierwave  (0) 2018.12.05
Rails 영상] 기본 블로그만들기  (0) 2018.11.29
rails 토큰 만들기.  (0) 2018.11.23
Comments