Skip to content

Instantly share code, notes, and snippets.

@tuanminh20
Created February 20, 2017 02:39
Show Gist options
  • Save tuanminh20/11e929ec43a4e306b4a63e4cda0dbf50 to your computer and use it in GitHub Desktop.
Save tuanminh20/11e929ec43a4e306b4a63e4cda0dbf50 to your computer and use it in GitHub Desktop.
Estimate chuc nang search ground
Routes, Migration, enums grounds.ground_rank, grounds.ground_type (0.5 day)
Man hinh search: (1.5 days)
1. Not logged in: Prefecture default Toan quoc, City = Please select, Hien thi tat ca grounds (phan trang 20 each)
2. Logged in, Prefecture default = User.prefecture, City = cities of prefecture, default = User.city || please select, Ground = grounds of of prefecture (phan trang 20)
3. Prefecture changes, City = cities of prefecture, default = User.city || please select
4. Validate cho ground name
5. Chuc nang seach = ransack
6. Chuyen qua lai trang ko bi reset inputted values of form (Co the dung ajax khi chuyen trang)
7. Khi bam search, ko bi reset inputted values of form (Co the dung ajax)
6. HTML cho 1 ket qua
Man hinh chi tiet (1 day)
1. Hien thi Google Map voi lat, long cua ground
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment