moar

(★ 9)

More-style pagination for Rails

파일 탐색기

  • .gitignore
  • CHANGELOG.md
  • Gemfile
  • MIT-LICENSE
  • moar.gemspec
  • Rakefile
  • README.md

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

bundle

설명 보기 ▼

Ruby 프로그래밍 언어의 종속성 관리자.
더 많은 정보: <https://bundler.io/man/bundle.1.html>.

bundle install

작업 디렉토리에 있는 `Gemfile`에 정의된 모든 gem을 설치:

bundle exec {{command}} {{arguments}}

현재 번들의 컨텍스트에서 명령을 실행:

bundle update

`Gemfile` 에 정의된 규칙에 따라 모든 gem을 업데이트 하고 `Gemfile.lock`을 재생성:

🔍

rails generate

설명 보기 ▼

Generate new Rails templates in an existing project.

rails generate

List all available generators:

rails generate model {{Post}} {{title:string}} {{body:text}}

Generate a new model named Post with attributes title and body:

rails generate controller {{Posts}} {{index}} {{show}} {{new}} {{create}}

Generate a new controller named Posts with actions index, show, new, and create:

// repository documentation