Blogs

Verwendung von Gon Gem mit Javascript & 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: …

Verwendung von Gon Gem mit Javascript & Rails Weiterlesen »

Grundlagen von Sessions, Cookies und SEO in 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 …

Grundlagen von Sessions, Cookies und SEO in Rails Weiterlesen »

Möglichkeiten zur Abwicklung von PayPal-Rückerstattungen in Rails

PayPal Checkout umfasst Zahlungslösungen, die von einfach bis robust reichen, so dass sowohl Händler als auch Entwickler eine Integrationsoption wählen können, die für ihre Website und Kunden am besten geeignet ist.Um Paypal Payment Gateway zu integrieren, müssen wir Folgendes tun: 1. Besitzen Sie ein PayPal-Geschäfts- oder Premier-Konto.2. erstellen Sie ein PayPal ...

Möglichkeiten zur Abwicklung von PayPal-Rückerstattungen in Rails Weiterlesen »

Wie generiert man eine Sitemap und fügt sie zu seiner Rails-Anwendung hinzu?

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 …

Wie generiert man eine Sitemap und fügt sie zu seiner Rails-Anwendung hinzu? Weiterlesen »

So machen Sie Ihre Rails-Anwendung mehrsprachig

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 …

So machen Sie Ihre Rails-Anwendung mehrsprachig Weiterlesen »

Mandantenfähige Architektur mit PostgreSQL-Schemata

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 …

Mandantenfähige Architektur mit PostgreSQL-Schemata Weiterlesen »

Wie man eine Swagger-Dokumentation für Rails-API generiert

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 …

Wie man eine Swagger-Dokumentation für Rails-API generiert Weiterlesen »

de_DEGerman