Comments (2)
make a current_user_create method in model and move all code there.
from the_pivot.
Closed after deciding logic was fine in the controller.
from the_pivot.
Related Issues (20)
- flash types ?
- Show page: Date validation -- Add User-friendly error message
- Sometimes the listings index is empty for a location. ... Add validation that the continent isn't empty
- session[:pending_reservation]
- Reservations Index doesn't display newly created reservations.
- Add Travis CI
- >95% coverage
- Render custom flash message for first-time user login
- test the listings controller
- test the users_controller
- test the application_helper
- test the sessions_controller
- test the permission_service
- test the reservations controller
- Get heroku working again
- Register from homepage: Blows Up
- Fix the date so it's local time
- test all possible scenarios: currently all lines of code are covered but not all possible scenarios are covered. for example in the listing controller: it tests if the checkout date is omitted but not the checkin date or the country. Model/unit tests may be the most appropriate.
- Add validation: that user **must** select a location
- Add favicon to website
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from the_pivot.