2018 | Mar 18
[rails] styling on_the_spot with bootstrap v3/v4
“The on_the_spot gem allows inline editing of data. In general this is something I prefer ...”
12
[rails] using font-awesome-5 with turbolinks
“If you started using FontAwesome-5 in a Turbolinks project, you will quickly notice the icons ...”
| Jan 04
Alternative RSpec trick for testing methods with arguments
“I just read this article titled Useful RSpec trick for testing method with arguments which ...”
| ||||||||
2017 | Nov 07
Render bug with ul in chrome 62?
“In our GIS web-application we use leaflet with the superb sidebar-v2 component to have some ...”
| Aug 23
[rails] improving the performance of a query involving date-ranges
“I have an audit-log table with +300M rows and while most messages are just confirming ...”
[mac osx] extracting photos from photos library
“Before, with iPhotos it was pretty easy to extract files: just drag and drop and ...”
| ||||||||
2016 | Aug 08
[postgis] BUG: ST_geomfromgeojson rounds z values
“... and then I encountered a bug in Postgis 2.0.4. Fuck. ST_geomfromgeojson rounds my z-values ...”
| Jun | Apr 18
[rubygems] handling SSL errors on Windows when installing gems
“When you encounter SSL errors when installing gems on Windows, the easiest workaround is to ...”
13
Handling deprecated :insert_sql and :conditions for habtm
“In a system I am helping to develop a person can be linked to a ...”
| Mar 28
[oracle] avoiding SLOW sdo_aggr_union
“There is this recurring problem we have in GIS: getting road-segments and wanting to show ...”
23
[ORACLE] updating coordinate systems' definition
“We are in the process of migrating an old GIS system. For our new systems ...”
| ||||||
2015 | Dec 16
[rails routing] protecting a mounted engine
“In a project we built, we are using que for doing our background-jobs, and there ...”
| Sep 28
Using render-anywhere gem with partials
“Normally in rails, you can only render views inside of the controller. But what if ...”
| Aug 28
[rails] ignoring specific postgis view and tables in schema.rb
“Developing rails websites with a geographic component we rely heavily on Postgis, so we use ...”
| Jul 09
[geoserver] failed to look up primary key in oracle table
“I have a very weird problem with my geoserver+oracle, when deployed on a Windows 2012R2 ...”
| Jun 10
[geoserver] having duplicate columns in your oracle based layer
“Updating geoserver did not fix my problem: my layer still had some duplicate columnnames. This ...”
Upgrading my local geoserver instance from 2.3.3 to 2.6.3
“At my current job, we make GIS websites, using rails and geoserver. I develop on ...”
| May 22
[rails] select distinct values of a column
“The simplest way to select all distinct values of a column is, somewhat unintuitively:
Visit.uniq.pluck(:project)
this runs ...”
| ||||
2014 | May 26
setting a html5 data attribute with jquery
“Abstract
I have a single bootstrap modal, which is called from different places, and so the ...”
06
[ruby] hate private methods? use protected instead
“I started out writing something like the following:
If I could change just one ...”
| Apr 29
[rails] store your settings in a model
“Most of the times I use a config.yml to store application settings, that I want ...”
24
[postgis] fixing missing rt-postgis2.0
“TL;DR
If you are using brew to manage your postgresql/postgis install, and you suddenly cannot access ...”
23
[rails 4.1] when the rails command just hangs
“For one of my projects I am using rails 4.1 (bleeding edge! yeah :) ) ...”
18
[rails] using foundation 5 without installing bower
“Starting with ZURB Foundation 5, they use Bower to distribute the assets, and in their ...”
| Mar 27
[oracle] changing the value of a sequence
“According to oracle documentation, to change a value of a sequence, you have to drop ...”
13
[rails 4] add a reference to a table with another name
“They default way in rails 4 to add foreign keys is simply
add_reference :people, :user
And this ...”
How to clean assets in rails 4
“Gentle reminder, do not forget, in rails 4
rake assets:clean
seems to work, but actually does nothing. ...”
| Jan 28
Run rails 2.3.18 using ruby 1.8.7 on windows server 2012
“For my current job we have two 2.3.5 rails sites, of which I already succesfully ...”
| ||||||
2013 | Dec 27
max osx: computer does not go to sleep anymore?
“I had this weird thing: it seemed, since my update to mavericks, that my macbook ...”
23
complete coverage with SimpleCov
“When using SimpleCov in a very ill-covered project, I got amazingly good results: SimpleCov just ...”
22
tuning Geoserver on windows for production
“I develop my website using a MacBook Pro retina, and deploy on windows. And I ...”
| Nov | Aug 28
checking which columns are never used in a oracle database
“I am currently converting an Oracle database to Postgis. Instead of blindingly copying the data ...”
| May 31
upgrading rails 2.3.5 to rails 3.2.13
“Yowza. Due to some devine intervention I am now responsible to upgrade three rails sites. ...”
28
simulating HTML5 history on IE8+
“For my current employer I help in building a heavy javascript based website/application. Using a ...”
| ||||||
2012 | Nov 09
automatically handle StaleObjectError in rails 3.x
“There are different reasons why a ActiveRecord::StaleObjectError would occur. Sometimes it is caused because rails ...”
| Oct 16
Short and clean ruby (or an exercise in group-think)
“In some part of my code I ended writing the following:
where self is some ActiveRecord ...”
08
how to remove deprecation warnings for link_to_function
“Since rails 3.2.4 the link_to_function is effectively deprecated (again). Everything keeps on working, but when ...”
| May 04
logging the activerecord-session-store
“I had an issue where I was not sure the ActiveRecord::SessionStore was actually working (in ...”
| Apr 08
using jasmine without rails
“Assume you have, like I did, a ruby gem that contains some javascript you want ...”
| Mar 24
converting a processing sketch with audio and visuals to a video on ubuntu
“I really like generative art, so I have been playing with processing for a while. ...”
10
generating pdf on heroku
“I was investigating ways to generate pdf's in Ruby on Rails, but I had ...”
| Jan 08
testing drag and drop of jQuery UI sortable with cucumber and capybara
“The Problem
For jottinx I wrote a small piece of code that allowed to sort items ...”
| ||||
2011 | Dec 26
jottinx 0.0.25
“This release contains
paginate really large notebooks (unobtrusive, when reaching the end of the page, it ...”
04
jottinx 0.0.22
“This release contains:
tags are clickable and we also show a clickable tag-cloud
deleting of notebooks: after ...”
| Nov 27
jottinx 0.0.20
“Released some small improvements:
somehow it was impossible to save tags: that is now fixed
links are ...”
26
jottinx 0.0.19
“This new version contains a new layout setup. I see some room still for further ...”
23
jottinx 0.0.18
“Released 0.0.18 includes:
improved Markdown editor with immediate preview
some smaller improvements: you can now click on ...”
21
jottinx 0.0.16
“Release 0.0.16 includes:
added search functionality
after import, jump to imported book
Note that you can always follow-up ...”
19
jottinx 0.0.15
“Yesterday I released 0.0.15, nothing much new, just further improved the import from Google Notebook, ...”
17
jottinx 0.0.14
“Release 0.0.14:
fixed a problem when a Google Notebook contained links. In the atom xml they ...”
16
jottinx 0.0.13
“Release 0.0.13:
fixed a problem with line-endings when importing from Google Notebook
adding a new note now ...”
jottinx 0.0.12
“I just released 0.0.12.
Google Notebook Importing
Importing from Google Notebook now is decent.
upon importing ...”
11
Introducing Jottinx
“Until recently I was an avid Google Notebook user. I liked the simplicity. I just ...”
| Oct 28
[rspec] view testing: testing the content_for results
“I normally do not do a lot of view specs, but at least I want ...”
25
Speeding up rspec tests
“We have a large test-suite that runs >2200 examples, that took 900 seconds to complete ...”
23
a guide to doing nested model forms in rails (3.1)
“One recurring problem when doing Ruby on Rails development is a nested model form.
Nested Model ...”
11
Rethinking your design: slim models, fat presenters?
“For me, it started with a tweet from Uncle Bob Martin, saying that if all ...”
| Jul 14
[mongoid] adding timestamps to an existing mongo collection
“In our Rails 3 application we use mongo to store logging of critical actions. At ...”
[mongoid] doing a group-by on date
“Doing a simple group-by query using mongo and mongoid is actually pretty straightforward. According to ...”
04
rails 3.1: creating a new application (fast!)
“Take the following steps, by preference install this in a specific gemset
These steps will create ...”
| Jun 11
my wordpress sites were hacked: eval base64_decode
“I maintain three wordpress blogs, all hosted at WebFaction. And suddenly this morning, inside all ...”
| May 06
configuring TeamCity to run rails projects
“In our team we are very happy users of RubyMine, by JetBrains. Now JetBrains also ...”
02
testing image_tag using rspec2 and rails3
“When testing your helpers, you might want to test if your call to image_tag generates ...”
upgrading to Ubunty 11.04: nvidia troubles
“When upgrading my development machine to Ubunty 11.04, Natty Narwal, I also had a problem ...”
| Apr 26
allowing double render in rails3
“I migrated the actionwebservice gem to rails3. Inside actionwebservice (server-side) there is the option to ...”
08
rails3 and rspec2: dynamically testing routes
“During the migration of a huge application from rails2 to rails3 I encountered a seriously ...”
05
Porting an existing rails 2 site to rails 3
“I have created a few rails 3 sites, but i have never before ported an ...”
| Feb 12
Cocoon: handling nested forms
“cocoon is a Rails3 gem to allow easier handling of nested forms.
Nested forms are forms ...”
| Jan 18
handling migrations in rails 3 engines
“In the process of converting a rails 2.3.* plugin to a rails 3 gem, i ...”
| |
2010 | Nov 08
coderetreat with Corey Haines
“After RubyAndRails 2010 there was a coderetreat, and i had read two blog posts about ...”
| Oct 31
Arrrrcamp 29/10/2010
“The fourth and most international of all arrrrcamp editions. Also the first paying edition. As ...”
16
rails 2 and 3 simultaneously: gemsets to the rescue
“I am developing several rails projects. Some are still rails 2.3.9, and some are rails3. ...”
07
in-place-editing in rails3
“On-the-spot is a Rails3 compliant unobtrusive javascript in-place-editing plugin, using jEditable.
As this jEditable depends on ...”
06
getting rcov working with rspec 2.0.0.rc
“I had troubles to get rcov working with the latest rspec2 release (since beta23 and ...”
04
ie8 css can't find my id
“I was having this weird problem in IE8. My page was rendered correctly in Chrome ...”
| Sep 08
rails3 doing cross-browser json
“I have two rails applications that communicate together.
In the first application i have the following ...”
| Aug 30
rspec2 using watchr instead of autotest
“I was having troubles with autotest, and not really finding a good solution. But i ...”
29
authlogic on rails3
“If you want to get authlogic working in a fresh rails 3 project, it will ...”
27
etsy fast_tagger v2
“There used to be a greasemonkey script fast_tagger which allowed an etsy seller to add ...”
25
fixing pgadmin3
“When i try to run pgadmin3 on my ubuntu 10.04 box i now get the ...”
20
setting up delayed_job in rails3
“If you want to run longrunning jobs in the background, one very easy solution is ...”
18
rspec2 and rails3: controller testing with devise
“Devise seems to become the new authentication standard in rails land. Also the last version ...”
17
handling ajax callbacks in rails3 using jquery
“Previously, in rails 2.3.8 i used the prototype-helpers link_to_remote and form_remote_for (amongst others).
These had the ...”
rails 3 and haml and unobtrusive javascript
“I have created a Rails3 application, started with Haml/Sass and finding it awesome. I am ...”
13
starting a new rails3 site using rspec2 and jquery
“With Rails3 i can create a project fully cut to my needs. I will write ...”
05
awesome rspec hints and tips
“Read "Pure Rspec", a great slideshow by Jon "Lark" Larkowski.
It contains some really cool rspec ...”
creating a new gem
“I found a few articles that describe easier ways to create a gem. From the ...”
| Jul 28
rails3 and rspec2 view testing
“Testing the view in Rspec is just great. It allows you to test the view ...”
27
rspec testing using macros
“
STATUS_EXPECTED_TRANSLATIONS = , ... ]
...”
skipping slow tests in rspec2
“For Test::Unit there is a module called skippy, that allows you to skip for instance ...”
22
Using git-submodule to handle plugins
“Using git-submodule can make it very easy for you to work with plugins in your ...”
12
rewriting find_by_sql for rails 3
“I am starting in Rails 3. I have a simple situation where i would select ...”
04
installing ubuntu for ruby development
“I have made the complete switch. My home development machine is no longer Windows XP, ...”
| Jun 07
shopping cart usability
“Last wednesday i was offered, in a mail i received, the opportunity to start shopping ...”
actionmailer attachments on windows
“I have been having troubles sending e-mails using ActionMailer on windows. The simple code-sample:
did not ...”
| May 26
use %q to create strings
“In my gemspec created by jeweler I saw string creating using %Q. What?
I found a ...”
22
easiest dual boot ubuntu install
“I wanted to convert my XP laptop to a dual boot with Ubuntu or Kubuntu. ...”
20
script/plugin install from git fails
“I am using ruby 1.8.7 on windows (mingw32), and all of a sudden i cannot ...”
18
keeping observe_field and spinner in sync
“I am using a lot of observe_fields in my views. I have two searches on ...”
17
mongrel_service beta troubles with space
“I am switching back from using thin inside a service to mongrel_service, because when my ...”
11
accessing current_user in models
“Up until now i was able to somehow circumvent the need to access the current-user ...”
09
Arrrrcamp
“Went to arrrrcamp last friday (Arrrr as in Ruby, Rails, Radiant and, of course, Rhum!). ...”
| Apr 29
setting word bookmarks from ruby
“The easy solution to set a bookmark inside a Word-document:
This will work, and will replace ...”
08
mongrel_service alternative: using thin and srvany
“So i am developing and deploying Ruby on Rails applications on Windows. Recently i started ...”
ruby-oci8 on x64: not a valid win32 executable
“working on Windows Server 2008R2 64-bit, installing ruby 1.8.7, ruby-oci8 ran into the following error, ...”
| Mar 31
refactoring ruby code
“Most of my ruby/rails development is against a legacy Oracle database. One of the things ...”
rails and avoiding oracle sequences at insert
“When using Rails on top of an Oracle database, you use the oracle enhanced activerecord ...”
24
multiple ruby versions on windows
“I started developing ruby more than a year ago, on windows, which might not be ...”
23
exception notifier configuration troubles
“I installed and configured exception notifier to be notified of any unexpected errors in our ...”
22
observe_field in IE8: endless loop
“My users showed me the weirdest problem today. In my application is a select-box that ...”
09
using content_for jquery on document ready
“In my Rails application i use a generic application.rhtml for all my pages. Amongst others, ...”
04
jquery validation only one field in a group required
“I am using the jQuery validate plugin which is awesome for straightforward form validation. What ...”
| Feb 28
javascript open popups and firefox
“In my Rails application, at a certain stage, it was necessary that my user performs ...”
25
insert javascript using link_to_function
“I am using Rails 2.3.4 at the moment, and as is well known, rails uses ...”
|
2009 | Dec | Aug 15
I4i battling Microsoft?
“...or software patent troubles again
The weirdest news i read yesterday: I4i is not out to ...”
| Jun 18
Spatial DB Advisor
“PL/SQL package: lessons learned
Working with Oracle Spatial a lot, I found a great source of ...”
| May 13
Windows 7 and XP
“I have been trying the Windows 7 beta, and i must admit it is pretty ...”
03
fixing the geometric metadata and spatial indexes
“When storing spatial data into Oracle, there are a few steps one needs to complete ...”
showing international or accented characters
“I am now working in Ruby on Rails for about a month. I have done ...”
| Jan 11
Last night WinSock XP Fix saved my life
“I have this machine at home, running XP, and all of a sudden it is ...”
| |||||
2008 “So far so good!” | Dec 23
Patience
“It has been the strangest year for me, professionally. I had a good job, where ...”
| Aug 12
Hiring a new developer
“At the company where i am working now, i need to hire new developers/programmers. Remember, ...”
08
ORA-01031 error when creating database
“At my new job I am back to administering Oracle. The last time I had ...”
| Jun 26
Removing VBA Password in AutoCAD
“Both AutoCad and MicroStation can now be automated/extended using VBA. This is fabulous. In my ...”
| Apr 15
Firefox 3 beta 5: switch off autocomplete
“I find the new Firefox 3 beta 5 unbelievable. It is much faster than the ...”
07
Easy XML reading using XmlTextReader
“When looking at examples and samples for the .NET System.Xml.XmlTextReader, i was hoping it would ...”
| Feb 22
WCF maximum string length
“WCF and MaxStringContentLength on XmlDictionaryReaderQuotas
When sending xml-data over WCF using a string, i bumped into ...”
| Jan 03
Configuring MS SQL Server 2005 for remote access
“Well apparently MS SQL Server 2005 does not accept remote connections by default. Luckily i ...”
| ||||
2007 | Aug 24
Nieuw begin
“Momenteel ben ik o.a. actief in de e-learning sector, waar ik ook vooral zelf veel ...”
| |||||||||
2006 | Feb 21
Beyond Java (Bruce Tate)
“Good thing about having to change, is thinking about your career, where you want to ...”
| Jan 25
About generics and stuff
“In my new job, which will start on the 1st of February, i will first ...”
| ||||||||
2005 | Dec 29
Clarification (about procrastination)
“In my local newspaper I read an article about laziness. Being lazy at work, because ...”
20
Future
“Weird how things go.
On my private website, i have written a review on the book ...”
| Oct 31
Oracle 10 Troubles --continued
“We had more than a few troubles migrating to Oracle 10, in our production environment. ...”
| Sep 01
Welkom!
“Welcome!
Welkom op de website van DIXIS bvba. Kijkt u gerust even rond :)”
|
Snazzy Archives by WordPress Consultant