Blogues

Bases des sessions, des cookies et du référencement dans Rails

Rails uses a CookieStore to handle sessions. What it means is that every one of the information expected to recognize a client’s session is sent to the customer and nothing is put away on the server. When a user sends a request, the session’s cookie is processed and validated so rails, warden, devise, etc. can …

Bases des sessions, des cookies et du référencement dans Rails En savoir plus "

Façons de gérer les remboursements PayPal dans Rails

PayPal Checkout includes payment solutions ranging from simple to robust that let the merchants as well as developers choose an integration option that can be the best-suited for their website and customers.In order to integrate Paypal Payment Gateway, we need to do the following: 1. Have a PayPal business or Premier account.2. Create a PayPal …

Façons de gérer les remboursements PayPal dans Rails En savoir plus "

Comment générer et ajouter un plan de site à votre application Rails

The use of sitemap confers its own set of advantages to a website. While it can add significant value in terms of smooth website navigation and enhanced visibility for the search engines, it also empowers the website with the ability to immediately inform the search engines about any changes happening on the site. This leads …

Comment générer et ajouter un plan de site à votre application Rails En savoir plus "

How to make your Rails Application Multilingual

Rails gem approach, MySQL approach and a Multilingual Rails structure Most of the world doesn’t speak English. That’s where internationalization and localization come in. Rails has a great i18n API.Reference: http://guides.rubyonrails.org/i18n.html It provides an easy-to-use and extensible framework for translating your application to a single custom language other than English or for providing multi-language support …

How to make your Rails Application Multilingual En savoir plus "

Architecture multi-locataire avec schémas PostgreSQL

In Multi-tenant architecture by using single instance it serves multiple accounts. Each account is called a tenant. There are so many different approaches to implement multi-tenancy architecture using traditional or by using any gems. By comparing all those I found the simplest way of implementing Multi-tenancy that is with “Act as tenant” gem Representation of …

Architecture multi-locataire avec schémas PostgreSQL En savoir plus "

Comment générer une documentation Swagger pour une API Rails

Making API for a Rails application is simple for a Ruby on Rails developer. In any case, how different clients/customers will know whether the API is working fine or not without a customer side application. Is there any answer for this which I can report for API inside the Rails application, The answer is yes …

Comment générer une documentation Swagger pour une API Rails En savoir plus "

Utilisation de bases de données SQL et NoSQL dans une application Single Rails (MySQL, PostgreSQL et MongoDB)

Il y a plusieurs raisons pour lesquelles vous devriez envisager d'avoir plusieurs bases de données dans votre application Ruby on Rails. Dans mon cas, je m'attendais à devoir stocker de grandes quantités de données. Considérons que la base de données par défaut est MySQL. Dans le fichier database.yml de notre application, nous écrivons les connexions pour MySQL de manière normale. Ensuite, pour connecter postgresql dans la même application ...

Utilisation de bases de données SQL et NoSQL dans une application Single Rails (MySQL, PostgreSQL et MongoDB) En savoir plus "

Search Kick Gem - Pour rendre votre recherche intelligente sur l'application Rails

Search kick Gem est une gemme Ruby qui s'exécute au-dessus d'Elasticsearch et facilite la réalisation de recherches d'une manière conviviale pour Rails. De plus, il vous permet d'ajouter d'autres fonctionnalités telles que l'analyse, l'autocomplétion et les résultats personnalisés. Searchkick sait ce que vos utilisateurs recherchent. Au fur et à mesure que les individus chassent, il devient de plus en plus brillant ...

Search Kick Gem - Pour rendre votre recherche intelligente sur l'application Rails En savoir plus "

Planification d'événements récurrents avec Ice Cube Gem

Ice_cube is a ruby library for effectively taking care of repeated events (schedules). The force lies in the ability to indicate multiple rules, and have ice_cube rapidly make sense of whether the schedule falls on a specific date (.occurs_on?), or what times it happens at (.occurrences, .first, .all_occurrences). How to get ice cube For install …

Planification d'événements récurrents avec Ice Cube Gem En savoir plus "

fr_FRFrench