Blog

Utilizzo di Gon Gem con Javascript e Rails

Using Rails data as a part of javascript is an extremely regular need, particularly for Javascript applications such as Angular, Ember and SPA. If it is a small amount of data, we can directly assign it to the ruby variables. From rails view:Ex:- HTML: ; $(‘#user’).val(); HTML data attribute: <%= content_tag “div”, id: “posts”, data: …

Utilizzo di Gon Gem con Javascript e Rails Leggi altro »

Gemma di refactoring del codice – Flay

Keeping your code elegant and no code clones while building up a vast Rails application can be a significant test, notwithstanding for an accomplished developer. Fortunately, there is a gem that make this code refactoring much simpler. For a great many people, dead/wasteful code will develop after some time. Others will find themselves in such …

Gemma di refactoring del codice – Flay Leggi altro »

it_ITItalian