Skip to content

Labs.vidio.com

    • About
    • Karena Kita Vidio
  • April 23, 2015

    Pending dalam RSpec tetap mengevaluasi example

    Dalam RSpec kita bisa menunda example test dengan menggunakan xit, misalkan karena dijalankan terlalu lama sehingga memperlambat test kita. Akan tetapi jika ingin memberi keterangan/alasan penundaan, bisa menggunakan pending Namun yg menarik adalah meski menggunakan pending example dibawahnya tetap dijalankan, kecuali jika foo#slow_query_method menimbulkan exception. Referensi:

    Uncategorized
    #Import 2023-05-11 13:00, #medium
  • April 21, 2015

    Vidio.com kini tersedia di Android

    Bertepatan dengan hari Kartini, tim Vidio.com merilis aplikasi Vidio.com untuk platfrom Android. Sehingga kini kita bisa menonton video-video cita rasa lokal di smartphone. Vidio.com untuk android bisa ditemukan di play store.

    Uncategorized
    #Import 2023-05-11 13:00, #medium
  • April 20, 2015

    Law of Demeter, Komentar tentang Deprecated, Protokol Baru Google: Quic

    Law of Demeter Di KMK, ada beberapa kesalahan yang tercatat di log ketika agen mengakses feed. Ternyata ada kode seperti ini: $a->$b->$c->$d->$e; Itu terpatahkan di tengah-tengah. $c-nya null sehingga kita mendapatkan kesalahan: Null tidak ada metode $d. Untuk mengatasi masalah ini, kita bisa menggunakan prinsip Law of Demeter. Prinsip ini menyatakan objek tidak boleh berhubungan…

    Uncategorized
    #Import 2023-05-11 13:00, #medium
  • April 15, 2015

    Raw Insert Query with ActiveRecord

    These past days have taken me to a place that I need to learn more about executing a raw query, without relying on generated active record object (existing model classes). Last week, I wrote a lib, that I think, required me to wrote it with custom or raw query. My research was filled with these…

    Uncategorized
    #Import 2023-05-11 13:00, #medium
  • March 20, 2015

    Problem Using ActiveRecord #exists? In Eager Load Resultset

    So few weeks ago i’ve got problem in a rails apps. New Relic reports about 500 error, where the main cause is accessing method in nil object. Here is code snippet, causing the error : From the code above, user object have a method latest_title it just check if user has posts and fetch the…

    Uncategorized
    #Import 2023-05-11 13:00, #medium
  • January 2, 2015

    Menghubungkan Container Docker di Hardware yang Berbeda

    Kalau ada yang bertanya, apakah memungkinkan saya menghubungkan docker container saya dengan container yang lain pada mesin / hardware / server yang berbeda ? Jawabnya tentu dan sangat mudah. Mari kita buatkan analoginya — container web application–++ Image Container Name : infra/web — container apps / cron / api–++ Image Container Name : infra/apps —…

    Uncategorized
    #Import 2023-05-11 13:00, #medium
  • December 31, 2014

    Learning Devise for Rails is Out Now!

    It’s very exciting for me to announce that my very first book is out! Actually, I’m not the only author in this book, there are Giovanni Nugraha and Nia Mutiara whom I collaborate with to produce this great book. This book is about using devise in your rails application. It will helps the reader to…

    Uncategorized
    #Import 2023-05-11 13:00, #medium
Previous Page
1 … 24 25 26

Blog at WordPress.com.

  • Subscribe Subscribed
    • Labs.vidio.com
    • Already have a WordPress.com account? Log in now.
    • Labs.vidio.com
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar