Blog · corpus.blog/blogs/mensfeld.pl/posts
mensfeld.pl
mensfeld.pl
2015
10 Jul 2015
Empty? vs blank? vs any? – why you should not use any? to test if there’s anything in the arrayoriginal ↗
2 Jun 2015
5 May 2015
5 Apr 2015
31 Mar 2015
Exceptions should not be expected – stop using them for control flow (or any other logic handling) in Rubyoriginal ↗
27 Mar 2015
Gitlab, Ruby private repository, Docker container and safe way to add SSH key for build process onlyoriginal ↗
28 Feb 2015
ActiveRecord and FriendlyId: slug not generated when field set with before_validation callbackoriginal ↗
31 Jan 2015
Ruby on Rails and Dragonfly processed elements tracking with two layer cache – Memcached na ActiveRecord underneathoriginal ↗
18 Jan 2015
2014
Ruby on Rails: Migrating to Devise from your own authentication engine – Using custom Encryptorsoriginal ↗
6 Oct 2014
ActiveRecord count vs length vs size and what will happen if you use it the way you shouldn’toriginal ↗
15 Sept 2014
10 Aug 2014
ActiveResource relations – a bit of magic to make it look and feel more like ActiveModel relationsoriginal ↗
3 Aug 2014
State Machine gem and Rails (ActiveModel) 4.1 – NoMethodError – protected method ‘around_validation’ called for StateMachineoriginal ↗
23 Jul 2014
4 Jul 2014
14 May 2014
Errbit + HTTPS: Setting up Errbit reporter (Airbrake v4 gem) to work with self-signed HTTPS Errbitoriginal ↗
16 Apr 2014
Mongoid and Aggregation Framework: Get similar elements based on tags, ordered by total number of matches (similarity level)original ↗
25 Feb 2014
Learning Mongoid – Build scalable, efficient Rails web applications with Mongoid – Book revieworiginal ↗
22 Feb 2014
24 Jan 2014
24 Jan 2014
2013
Rails + Paperclip + Open-Uri – Downloading files from the internet and saving them with Papercliporiginal ↗
27 Dec 2013
Rails + CoffeeScript + Jquery – Marking multiply objects for destruction at a time (frontend)original ↗
15 Dec 2013
Paperclip and Rspec: Stubbing Paperclip/ImageMagick to make specs run faster, but with image resolution validationoriginal ↗
8 Nov 2013
8 Nov 2013
Rails 4.0.1: Revert change on ActiveRecord::Relation#order method monkey patch to keep Rails 4.0.0 order behaviouroriginal ↗
18 Oct 2013
11 Oct 2013
13 Jul 2013
Upgrading to Rails 4.0 from Rails 3.2 – Test case – Part I (preparations, configuration, gems)original ↗
27 Jun 2013
6 Jun 2013
Ruby on Rails on Passenger and Redmine: incompatible character encodings: UTF-8 and ASCII-8BIToriginal ↗
19 Mar 2013
13 Jan 2013
2012
Munin: This RRD was created on another architecture – migrating between 32 and 64bit systemsoriginal ↗
30 Dec 2012
PhusionPassenger::UnknownError: Psych::SyntaxError – tab character that violate intendationoriginal ↗
1 Sept 2012
2 Jun 2012
12 May 2012
22 Apr 2012