Domanda

Per andare alla Rails 3.1 o non andare a Rails 3.1, questo è il problema.

So che la nuova versione ha alcune caratteristiche grandi per esempio risorsa gasdotto, ma sono gemme di terze parti pronti per l'ultima versione -? fa 3.1 incompatibilità causa con gemme esistenti per Rails 3.0

Quali sono i vantaggi e gli svantaggi di usare le Rails 3.1 adesso?

È stato utile?

Soluzione

As a common rule, you should always start with the latest version. If you start with an old version, you are already starting with an additional cost. The cost of writing code that will probably need to be revised.

In this case, the asset feature is a major change. If you start building your Rails app in the 3.0 way, you will need to move several assets in the future.

As long as you don't have the strict requirement to use a specific Gem, go ahead with 3.1. Also, 3.1 is not very different compared with 3.0 in terms of dependencies. It is not worth to stay with 3.0 just because "a gem might be not compatible". There will always be incompatible or outdated gems.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top