I’m new to Rails (and ruby in general). I was planning to implement a
whiteboard like system, in which changes made by users to the board are
Currently, I’ve implemented it as a model Post which :has_many Boards. A
new Board is added to the Post every time a change is submitted (with a
created_at timestamp). This allows saving multiple versions of the
board, but has the drawback that:
a) The board is replicated even if there is only a marginal change.
b) There is no easy way (I know) to diff two versions.
Would be very grateful it anyone could help me out with some better
model or point me in the right direction.