Closed michaelirey closed 10 years ago
The pull request does fix up the forms, but does not address the issue when your mongoid model does not have a created_at. I would like to help out and address this. Perhaps only show created_at if the mongo model is using timestamps? Thoughts on how to best accomplish this?
You need to add include Mongoid::Timestamps
to your model, this will add created_at
and updated_at
fields.
@michaelirey :thumbsup: for the first line "... right now they dont love each other" :smile_cat:
I'm closing out issues here, please reopen or create a new issue if this persists.
I love twitter-bootstrap-rails and I love mongoid. However, right now they do not love each other...
Here are the steps to recreate starting from brand new rails app:
Notice the extra fields?
This seems awkward now...
But lets add some data...
Now things seem mis-aligned
And now the stack trace
Here is a list of all the gem versions I am using: