Tag Archives: optimize

[Part 1] MongoId what you need is not what you get !!


Not all tools are good. You need to know what your tools are, what they do and how to avoid shits (tools always come with shits… just jump over, not into). Mongoid is recommended in MongoDB official site as the first choice for ruby ORM to work with Mongodb… But is it good enough ? In my […]

https://codernotfound.wordpress.com/2015/08/31/mongoid-what-you-need-not-what-you-get/

[PART 2] MONGOID WHAT YOU NEED IS NOT WHAT YOU GET !!


Okie !! I have come back with tons of problems with Mongoid… Please refer to my previous post at Part 1 Example 3: can not save your Array field in mongoid. Sample Model Okie… Let’s write some code. And … We got So watafak happened? Let’s look back at the post.tags << tag command. We […]

https://codernotfound.wordpress.com/2015/09/04/part-2-mongoid-what-you-need-is-not-what-you-get/