데이터를 읽어들어서.
10폐이지만 표기 하려고 하는데... 잘 안되네요.~!@@
dis_count = 10
@nice = Inquiry.search(nil, nil, condition)
@pages = Paginator.new self, @nice.size, dis_count, params[:page]
@nices = nice.search(@pages.current.offset, disp_count, condition)
여기에서
@pages = Paginator.new self, @nice.size, dis_count, params[:page]
에서 에러가 납니다.
wrong number of arguments (4 for 2)
식으로요...
아큐멘터가 맞지않는건인지요?
이것때문 시간 다 잡아먹네요..~~!!! 에궁...
무엇이 문제인지요?