Time Management: how you can use your time in an efficient way

Time Management: how you can use your time in an efficient way

Did you never ask yourself if there is something that can really change your way of working? Do you think that something can really have a big impact in your life?Something that is really important to do? We are often not so focused on our real target and we let that the everyday emergencies lead our working life and finally we see  that we didn’t reach big results or in the same way we didn’t help our professional growth. The t...

Read more

Rails Best Practices 6: Filters and helpers file

With the today’s post I shall conclude my series on Ruby On Rails Best Practices . This is not because the required topics are completed, but rather because after the release of Rails 3.0, some constructs have been changed and should be reviewed. Probably in future we will return to talk about best practices, but starting from the new features introduced...

Read more

Rails Best Practices 2: Move logic to model

Today we continue our analysis of the Rails Best Practices. In the previous post we saw Named Scope, Model Association and Following the same direction, in today’s post we’ll examine the use of Callback Model and Virtual Attribute.1. Virtual AttributeSuppose we have a customers list table defined as follows123456create_table "clients", :force => true do |t| t.string "first_name" t.string "last_name" t.string "street" t....

Read more