attilagyorffy.com

attilagyorffy.com

I'm Attila. I'm a senior full-stack freelancer, an ex-Londoner who worked previously for @terracycle, @ubxd and @lastfm. My focus is on high quality output using agile development, Ruby/Rails and JS.


Tagrubyonrails
Featured

PostgreSQL rubyonrails ActiveRecord

Avoiding PG::NotNullViolation errors when adding new columns in Rails migrations

Posted on .

I have seen this being a common question across newcomers to Rails. When you are adding a new column to an existing table with a non-null constraint, you start writing a migration as follows: This will raise a PG::NotNullViolation error as postgres is smart e…

Featured

rubyonrails productivity

LiveReload with Rails 4

Posted on .

Live reloading assets used to be a breeze. Not anymore, since Rails these days does a lot of funky operations on our assets, even in development. I used to use rack-livereload for its simplicity but it doesn’t seem to be working anymore for some reasons. Curre…