I’m pleased to announce Lotus: the Open Source project I’ve conceived, hacked and built during the last year. Lotus is a full stack web framework for Ruby , built with lightness, performances and testability in mind. It aims to bring back Object Oriented Programming to web development...
Reading Rails - More Migrations Posted by netghost on January 01, 2014 — 0 comments You probably use ActiveRecord on a daily basis, but how familiar are you with the actual code? We're taking a look at how Rails tracks applied migrations . While we do so, we'll pick up a few new idiom...
Refinements - deixa de ser experimental e pode ser aplicado dentro de um Module também Decimal Literals - assim como no 1.9 números complexos ganharam uma forma literal com Complex(3,4) == 3 + 4.im agora podemos fazer 0.3r para denotar um número racional Faster Numbers - Integers de 1...
Robert Williams, man to watch in 2014 I recently interviewed Robert Williams, founder of Workshop . Over the course of the last year Robert went from full-time employment, to successful freelancing, to launching a successful online business helping other freelancers to succeed using h...
Are you a hacker who likes to make music? You know how you feel precise control when you write code you understand, but you have to filter your understanding of your music through oversimplified GUIs which sometimes have terrible UX? I made a series of videos which teaches you how to ...
I have a webapp that allows users to upload video files. These files vary in size, but some may be as large as 4GB. The problem is that when a user submits a create/edit form that posts a large video file, there is an absurd amount of server-side processing that seems to take place be...
Returns a string that represents the array in XML by invoking to_xml on each element. Active Record collections delegate their representation in XML to this method. All elements are expected to respond to to_xml , if any of them does not then an exception is raised. The root node refl...
# Matz DI -- Block Injection # # Usage: # # def start_app # c = DI::Container.new # c.define(:blog) {|c| Blog.new(c.input, c.display)} # c.define(:input) {Input.new} # c.define(:dbms){DBMS.new} # c.define(:markup){Markup.new} # c.define(:plugin){|c| # p = Plugin.new # p.dbms = c.dbms ...
class Forms::Registration # ActiveModel plumbing to make `form_for` work extend ActiveModel::Naming include ActiveModel::Conversion include ActiveModel::Validations def persisted? false end # Custom application code ATTRIBUTES = [:name, :email, :terms_of_service, :anti_bot_question_id...
I talk with entrepreneurs regularly. Every one of them has a new idea or a twist on something that’s going to disrupt an existing market. Most come to Terralien because they need a development partner. They’re super excited and want to tell me all about it. The conversation goes somet...