DevOps Curriculum

...makandra.de. 155 IN TXT "v=spf1 ip4:195.226.174.184 ip4:195.226.174.185 ip4:62.116.166.45 ip4:62.116.166.112 include:_spf.google.com include:_spf.makandra.de -all" Du weißt, was sich hinter "DNS Round Robin" verbirgt und was...

DevOps Curriculum

...difference between class methods and instance methods (def self.method vs. def method) Modules and include Input and output Simple regular expressions Resources Tutorials Here are some tutorial to get you...

Best results in other decks

makandra dev

...from prepended modules (Ruby 2.0+ feature) Methods from the object's class Methods from included modules Methods from the class hierarchy (superclass and its ancestors) Example

...have the following class hierarchy: class Superclass def action puts "Superclass" end end module IncludedModule def action puts "Included module" super end end module PrependedModule def action puts "Prepended module...

Using .includes or .eager_load with 1-n associations is dangerous. Always use .preload instead. Consider the following ActiveRecord query: BlogPost.eager_load( :comments :attachments, ).to_a

...the full cross product of the blog post × all its comments × all its attachments, including 1000 redundant copies of all the fields of the blog post. If you add a...

Search in all decks