Manuel Martinez

Joined

10,900 Experience
94 Lessons Completed
2 Questions Solved

Activity

Posted in Rails & Vue.js Trello Clone - Part 2 Discussion

me too

Posted in The Rails db:system:change command Discussion

Great to change the database when we create default sqlite.
that maintains the previous gem version ... generates confusion when looking for errors.

Posted in ibm Iseries AS/400 DB2

in the end we have developed an api in node js to which we call using the gem httparty

thx

Posted in ibm Iseries AS/400 DB2

I am proposing a new approach to the problem
use js to connect to the db2 database

any suggestion is welcome .... 

Posted in ibm Iseries AS/400 DB2

ruby-2.5.0/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:62:in `load': /Users/Manux/.rvm/gems/ruby-2.5.0/gems/jdbc-jt400-9.1.1/lib/jt400.jar:1: Invalid char `\x03' in expression (SyntaxError)

Posted in ibm Iseries AS/400 DB2

using the gem ibm_db, I can not verify that everything is configured correctly.
using mac ox , ubuntu 16.04,  rails 5.2.0 , ruby 2.5 

Posted in ibm Iseries AS/400 DB2

I'm trying to connect using some of the gems:
sequel, dbi, ibm_db, jdbc-as400-adapter

Without success, does anyone have the same problem?

In your rails layout

Place the following code in the <head></head> tag:
<!-- Google Tag Manager -->
<% if Rails.env.production? %>
<script>
document.addEventListener('turbolinks:load', function(event) {
  var url = event.data.url;  dataLayer.push({
    'event':'pageView',
    'virtualUrl': url
  });
});(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-XXXXXXX');
</script>
<% end %>
<!-- End Google Tag Manager -->

Place the following code in the start of the <body> tag:
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-XXXXXXX"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

PS.: Don’t forget to replace the “GTM-XXXXXXX” with your Google Tag Manager code.


source: https://gist.github.com/esBeee/545653241530f8f2c2e16371bec56f20