Coder Social home page Coder Social logo

cycl's Introduction

me

ウェブアプリケーションプログラマです。

history

netforest,inc(営業・総務・運用サポート・) -> Blabo,inc(WEBアプリケーションプログラマ) -> hey,inc(旧ブラケット | WEBアプリケーションプログラマ)

info

twitter: @katsumata_ryo
blog: note i/o

cycl's People

Contributors

katsumata-ryo avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

cycl's Issues

リファクタリング用にIssueを作成する

2016/01/03現在は、模型を急いで作っているので
とりあえずイメージできるものができたところで
リファクタリングするようのIssuesを作成するようにする。

  • テスト
  • 表記のブレ
  • ヘルパー

などなど

record M: categoryをCategoryクラスから取得するようにする

Categoryクラスから使用できるようにする

  • Categoryクラスの作成
    • Userクラスの下にCategoryが来るようなルーティングにしなければいけない。
    • Userが作成された時にデフォルトのカテゴリーが作成されるようにする
    • recordは一つのカテゴリーを必ず持っている
    • Userは自分が登録したカテゴリーだけ呼び出せる

サーバをVPSに移す

概要

現在herokuを使用していて、停止時間がでてしまうので、VPSに移転を行う

移設のおおまかな手順

  • pumaの準備
  • railsアプリをおいてみる
  • capistranoでデプロイしてみる
  • CircleCIかgithubでデプロイしてみる

給料日を起点とした集計をやめる

概要

給料日を起点とした集計を行うことで、処理が複雑になっている。悲しいので辞めたい。

タスク

  • 給料日・給与のレコードを消す
  • カテゴリーに収入と支出の属性を与える
    • カテゴリーに属性をつけるフォーム
  • 月ごとに計算をする
    • フォームを作成
      • カテゴリーを収入支出で表示を切り分ける(js)
    • サマリーなどの計算を分ける

record M: RSpecでテストを作成する

Rspecでrecordクラスのテストを書く。

  • ヴァリデーションで設定したもの
    • 0以上の数値
    • 空じゃいけないところ
  • 異常値のテスト
  • 正常値のテスト

を作成する

レコードを年と月で分ける

概要

recordsのコントローラでいろいろやり過ぎなので、yearとmonthに分ける

タスク

  • recordsから分離して、月ごとのレコード一覧を作成する
  • 同様に、年ごとのレコード一覧をだす

両方共にまずはindexのことは考えなくていい。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.