groselhas.maurogeorge.com.br
RSpec Best Friends meu primeiro e-book | Groselhas - O blog do Mauro George (@maurogeorge)
http://groselhas.maurogeorge.com.br/rspec-best-friends-meu-primeiro-e-book.html
RSpec Best Friends meu primeiro e-book. Sim, estou escrevendo um e-book =) Seguindo a sugestão do meu amigo Cayo. Vou compartilhar com a comunidade a minha ideia. A ideia é falar sobre o ecossistema que existe em volta do RSpec, e como isso agiliza o trabalhao do dia a dia. Não é um e-book para iniciante mais para quem já sabe usar o RSpec no dia a dia é quer aprender técnicas para melhorar e agilizar o processo de BDD. Os tópicos que falarei:. Gems com matchers, como paperclip. Groselhas está sob uma Li...
stefanoverna.com
OO Rails e Thin models: quando Rails non basta
http://www.stefanoverna.com/blog/2012/06/oo-rails-e-thin-models-quando-rails-non-basta.html
Agile practices, Ruby/Rails and TDD/BDD tips. OO Rails e Thin models: quando Rails non basta. Un paio di settimane fa ho acquistato una copia di Objects on Rails. La lettura è stata molto interessante, e ha chiarito alcuni dei dubbi “architetturali” sorti negli ultimi progetti Rails più complessi che ho incrociato. Qui in fondo una buona lista di referenze per approfondire questo discorso:. Making ActiveRecord models thin. DDD for Rails developers: layered architecture. The secret to Rails OO design.
beardedhacker.com
TDD persistence without any ORM - The blog of the Bearded Hacker
http://www.beardedhacker.com/blog/2014/02/01/tdd-persistence-without-any-orm
TDD Persistence Without Any ORM. Here is simple tip how to make your data persisting between requests, without actually using any ORM, so, you can keep in focus on your domain model. What problem with ORM? ORM is semi-orthogonal to the business logic of your application. ORMs handle. The loading and saving of objects to records in a database. The behavior of. Those objects, apart from persistence, is (theoretically) outside of the. Here is our simplest possible persistence layer :). Object, such as.
blog.arvidandersson.se
Minimalicious testing in Ruby 1.9 with MiniTest - Random notes by Arvid Andersson
http://blog.arvidandersson.se/2012/03/28/minimalicous-testing-in-ruby-1-9
Waiworinao random notes by arvid andersson. Minimalicious testing in Ruby 1.9 with MiniTest. In this blog post I am going to try to do a introduction on writing tests in the style of Behavior Driven Development (BDD) specifications. Also called specs, with ruby's MiniTest. Framework. BDD is a big subject and I am going to focus on the tools MiniTest provides for specifying the behaviour of code. There are a lot more to BDD than what is mentioned in this blog post. Framework. MiniTest provides:. Apart fro...
tomcartwright.net
Tomcartwright
http://www.tomcartwright.net/objects_on_rails
London-based software engineer specialising in full-stack web application development, data processing and API building. Objects on hexagonal rails. January 03, 2014. 3 minutes, 34 seconds. Six months ago I sent an email to the London Ruby User Group mailing list to canvas opinions on hexagonal rails and object on rails techniques. We were starting a new product at keepmebooked and it seemed a good chance to employ some of the OO techniques that have been all the talk of late. By Matt Wynne and Objects o...
codefol.io
Where Do I Put My Code? - Codefolio
http://codefol.io/posts/Where-Do-I-Put-My-Code
Where Do I Put My Code? That’s not the right place for that piece of code, but where does. Ldquo;Refactor” is only a good answer if you know how to fix it. In a Rails application, and what kind of code goes where? For code about your database or domain objects. The model is your first stop in Rails. Models are powerful, easy to test, reusable across applications and more like non-Rails code than most of Rails — familiar, even if you don’t know Rails yet. Write tests too, of course! Test No conditionals, ...
SOCIAL ENGAGEMENT