Issue #12: Import Countries and Regions
- added a rake task to import countries and regions into db
- task can be executed with: $ rake import_countries_and_regions:create
- addded for countries and regions name uniqueness and tests for uniqueness
Issue #12: Import Countries and Regions
- better naming of rake task method
Issue #34: country and region uniq validation breaks cucumber tests
- fixed cucumber test broken due to uniqueness validation in country and region
- all associations in factories must now be set by hand => easier testing
- validation of presence of associations is now set correct in all models
Issue #30: article model
- fixed a bug where uniqeness validation of country and region broke seeding
- introduced article model
issue #30: article model
- introduced factory for article
- wrote some tests for article model
Issue #31: Renting Model
- added renting model
- added test for renting model
- added some more tests for article model
- changed age attr in medicalData to birthdate
Issue #31: Renting Model
- fixed a typo
- updated db diagram (added article and renting model)
Issue #33: Login System
- created user model
- created users controller
- renamed mail attribute of customer to email
- added annotate gem
- added annotations to models and specs
- removed obsolete delivery_address and invoice_address models
Issue #33: Login System
- reintroduced delivery- and invoice address, seems rails needs those classes
- added user view
- added annotations to specs in the right place
Issue #33: Login System
- some progress on login systme
- introduced salt and password encryption
- removed obsolete media => :all mentioned in issue #17
- Issue #33: Login System
- Added sign up page for user
- debug partial is now in application.html, instead of adding it to the bottom of every page
Issue #33: Login System
- added signin and signout functionality
Issue #33: Login System
- added logout button to customers page
- added before_filter to restrict access to controllers actions
Issue #33: Login System
- added user show view protection. Users can now view only their owm show page
Issue #33: Login System
- if user accesses page and he is not logged in, he gets redirected to that page after login, instead of always redirected to root page
- in production mode all request to a non matching url are redirected to root path (not in dev or test env)
Issue #33: Login system
- fixed a broken user test: password is between 8 and 255 characters
Issue #33: Ski Renting
- added a user to seed data
- added better email validation to customer: email must have a dot and a @ toke
- added tests for email validation