Guy Naor
Say Hello To A New Typo Version
almost 6 years ago by Guy Naor on The Dev Blog.
Just a short note that I switched the blog to a more recent version of Typo (2.6 with more recent changes included). This change also includes a new Famundo...
Rotating the Rails logs with FastCGI
almost 6 years ago by Guy Naor on The Dev Blog.
Deploying a rails app will eventually lead to the need to manage the rails log files. They get pretty big fast, and if the log level also include the SQL...
Finding Good Color Contrast
almost 6 years ago by Guy Naor on The Dev Blog.
Giving our Famundo users the ability to change some background colors on the header to match the logo, brough up the problem of selecting the correct color...
Fixing Rails for Postgres Schemas
almost 6 years ago by Guy Naor on The Dev Blog.
Postgres has a very powerful feature in the schemas, especially with the schema search_path. Using it I can have multiple separate families, all using the...
Fixing multipart POST in Rails
almost 6 years ago by Guy Naor on The Dev Blog.
Our API is REST based, and so we need all the REST verbs to work. Unfortunately Rails doesn't work correctly with multipart PUT submits. The fix is very...
Hash for views
almost 6 years ago by Guy Naor on The Dev Blog.
One of my team members asked for a way to use non ActiveRecord objects in views. We settled on a modified hash that will have accessors for all the keys...
Pre Validating Forms Using JS and Ajax
~6 years ago by Guy Naor on The Dev Blog.
Filling a long form on the web just to have it fail for all kind of reasons when I submit, always bothered me. I see it as unfriendly and inconvenient to...
Beware of HashWithIndifferentAccess#symbolize_keys!
~6 years ago by Guy Naor on The Dev Blog.
While working on our Famundo application, we used the symbolize_keys! method of one of the Hashs in rails, not realizing it was actually a HashWithIndifferentAccess...
Small Update for the method_missing() Post
~6 years ago by Guy Naor on The Dev Blog.
A few days ago I blogged about a ruby trick with method_missing() to make a child object appear as part of the parent object. Well, I found out I can improve...
Cool Things With Ruby
~6 years ago by Guy Naor on The Dev Blog.
After getting over the learning curve (or we can call it the "suck" period) Ruby suddenly get you into the "WOW!" phase. So to show some cool stuff you...
