- Generate new rails app using
--webpack
flag
rails new myApp --webpack=vue
Note:
- You can use
--webpack=angular
for angular application and--webpack=react
for react.
<!doctype html> | |
<html lang="fr"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Bootstrap demo</title> | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" | |
integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous"> | |
</head> |
# Controller | |
def orange_money | |
@reservation_id = session[:reservation_id] | |
@transaction_id = session[:transaction_id] | |
@total_amount = session[:total_amount].to_f | |
@om_secret_key = ["xxxxxxxxxxxxxxxx"].pack("H*") | |
@s2m_identifiant = Digest::MD5.hexdigest("xxxxxxxxxxxxx") | |
@s2m_site = Digest::MD5.hexdigest("xxxxxxxxxxx") | |
@s2m_htype = "SHA512".downcase |
Returned data: | |
{ | |
data: { | |
name: { | |
raw: 'Abdou Aziz DIENE', | |
first: 'Abdou', | |
last: 'Diene', | |
middle: 'Aziz', | |
title: '' | |
}, |
Yay! Resume { | |
parts: { | |
name: 'Abdou Aziz', | |
experience: 'professionnelle\n' + | |
'Abdou Aziz DIENE 2020-2021 * SENCALL TECHNOLOGIES»® (Responsable de production)\n' + | |
'e Formation, insertion et supervision des équipes de vente.\n' + | |
'e Recrutement de profils adéquats a la production.\n' + | |
"Adresse : Rue 11x16, e Reporting, analyses et proposition de plans d'actions.\n" + | |
'Medina,\n' + | |
'Dakar 2019-2020 * ECG Assurances® (Courtage en Assurance)\n' + |
{ | |
"eligibilities": [ | |
{ | |
"operator": "orange", | |
"is_eligible": true | |
}, | |
{ | |
"operator": "bouygues", | |
"is_eligible": true | |
}, |
Averta PE (https://serieseight.com/) |
Web fonts are pretty much all the rage. Using a CDN for font libraries, like TypeKit or Google Fonts, will be a great solution for many projects. For others, this is not an option. Especially when you are creating a custom icon library for your project.
Rails and the asset pipeline are great tools, but Rails has yet to get caught up in the custom web font craze.
As with all things Rails, there is more then one way to skin this cat. There is the recommended way, and then there are the other ways.
Here I will show how to update your Rails project so that you can use the asset pipeline appropriately and resource your files using the common Rails convention.
Web fonts are pretty much all the rage. Using a CDN for font libraries, like TypeKit or Google Fonts, will be a great solution for many projects. For others, this is not an option. Especially when you are creating a custom icon library for your project.
Rails and the asset pipeline are great tools, but Rails has yet to get caught up in the custom web font craze.
As with all things Rails, there is more then one way to skin this cat. There is the recommended way, and then there are the other ways.
Here I will show how to update your Rails project so that you can use the asset pipeline appropriately and resource your files using the common Rails convention.