Télécharger pour Windows Premium
Offre spéciale pour découvrir Premium
-50% à vie sur tous nos abonnements
Publicité
task rake
rake task
Se, per dire, il gem non è installato nel server di produzione, allora ogni task rake smetterà di funzionare.
If we don't have the gem installed, say on our production server, then every rake task will break.
Se lanciamo il task rake scritto la scorsa settimana, poi, possiamo anche ottenere i prezzi per tutti i nuovi articoli
If we run the rake task we wrote last week then we can get prices for all of our new items.
La modalità tipica per lanciare Deadweight è tramite un task rake, per cui creiamo un file denominato deadweight.rake sotto la cartella/lib/tasks della nostra applicazione.
The usual way to run Deadweight is as a rake task, so we'll create a deadweight.rake file in our application's/lib/tasks directory to do this.
Il codice nel task Rake sarà simile al codice dello script Ruby che abbiamo scritto poc'anzi.
The code in the Rake task will be similar to the code in the Ruby script we wrote earlier.
Non tutti i blocchi nel codice delle viste debbono essere cambiati, comunque, sebbene il task rake rails:upgrade:check dica diversamente.
Not every block in the view code needs to be changed, however, even though rake rails:upgrade:check tells you to do so.
Ora che tutti i test sono passati, possiamo cominciare a lavorare sulla lista dei messaggi generati dal task rake rails:upgrade:check per ridurre il numero di deprecazioni.
Removing Deprecated Code Now that the tests all pass we can start working through the list that rake rails:upgrade:check generates and reduce the number of deprecation warnings.
Se lanciamo nuovamente il task rake rails:upgrade:check, vedremo che ci sono ancora un po' di questioni aperte da sistemare.
Running The Application's Tests If we run rake rails:upgrade:check again we'll see that there's still quite a list of issues to fix.
Potrà sembrare che abbiamo voluto installare i gem solo per l'ambiente di test, ma i gem che includono task Rake, come ad esempio RSpec, dovranno essere inclusi anche nell'ambiente di sviluppo.
It might seem that we'd just want to install the gems for the test environment but the gems that include Rake tasks such as RSpec will also need to be included in the development environment.
Aucun résultat pour cette recherche.
Passez à Premium pour accéder à des millions d’exemples de traduction, enregistrer et apprendre du vocabulaire en illimité, le tout sans publicité.

Synonymes et analogies de "task rake" en italien

Publicité

Résultats: 8. Exacts: 8. Temps écoulé: 15 ms.