project_x's Issues
use an absolute URI when creating a redirect in controller file
こんな感じ
ex) redirect_to errand_url(@task.errand)
参考:Rails Named Routes: Path Vs. URL
レスポンスコード300番台のときは、response-headerにlocationパラメータが用意されていて、そこには絶対パスを入れるべきらしい。
Update rails version
- rails バージョンあげる
Add controller and template files for errand objects.
Change model name from 'Errand' to 'List'.
Create feature admin!
gem activeadmin使ってもよいです。
https://github.com/activeadmin/activeadmin/blob/master/docs/0-installation.md
adminコントローラー作る
Add integration tests
Generate migration file for errands table.
User can see "create errand button" and "create task button" when they registered the app.
Add controller tests
Create user model (having name, email and password)
- マイグレーション作成(name:string email:string password_digest:string)
- ユーザーモデルのemailにインデックス作成
- カラムにnullバリデーションを追加
- gemファイルの要らないコメント削除
- turbolinks gem削除
- bcrypt gem追加
Anonymous user can manage shared Errands and tasks.
Delete unneeded .keep files.
gitはファイルのバージョン管理しかしないので、空じゃないディレクトリの.keepは削除して大丈夫です◎
Use HAML!!
Display validation errors in each forms.
- user form
- errand form
- task form
- session form
Create an association between User and Errand.
user has many errands.
- モデルに関連書く
*design* simple sidebar
User can manage(CRUD) their errands from browser.
Add rails test framework.
- gemの追加
- Rspec設定
- FactoryGirl definition追加
- modelのテスト追加
- User
- Errand
- Task
- modelの関連テスト追加
- Errand
Generate migration file for tasks table.
Add controller and template files for task objects.
Change from SQLite to PostgreSQL
- 開発環境のDBをpsqlに切り替える
- #16
てすとてすと
User can manage(CRUD) their tasks from browser.
User can generate unique URL of a Errand(List).
Prefix id and class names of html elements to identify them that they are used by js.
User can register the app with name, email and password
Get CI started
travis??
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.