How can I integrate Amazon Native Ads

10
General
Im having troubles integrating Amazon Native Ads into my rails apps. I think its a problem with turbolinks but not really sure. Amazon says to just past this code into your html wherever you want...

Disabling ActionCable for Unauthenticated Users Discussion

14
General
Hey Chris,I tried to integrate the meta tag if else statement into the group chat app in the channels/chatrooms.js and got "cannot read property `send_message` of undefined" error. It was surprisin...
Imallek replied

How to use Google Maps and Markers Discussion

16
General
Awesome video. I am wondering how would I take the show page and link it to a different js file. The index.js is global correct? What would be the best way to setup a show view with just the map...
Jacques replied

Using TDD To Fix A Bug In The Kredis Gem Discussion

0
General

Need helping getting started with Ruby on an m1 MacBook.

0
General
I'm new to Ruby on Rails and am having trouble getting my first project up and running. I used Rosetta to open my terminal and installed homebrew, ruby, rails, postresql, mysql, and sqlite3, as we...
Humusk1 posted

Link To Current Page With Params Discussion

2
General
thsi episode is too easy!
ConfusedVorlon replied

Vue.js Slots with Tailwind CSS and Rails Discussion

0
General

Weird error in cable ready?

0
General
cable_ready 4.5.0 rails 6.1.4.1 ruby 3.0.2p107 This is a simple example from the basic tutorial (https://www.youtube.com/watch?v=F5hA79vKE_E) I suspect the error I am getting is because either cab...
Pito Salas posted

Deploy Ubuntu 14.04 Trusty Tahr Discussion

371
General
The following commands should be slightly modified:cap install STAGES=productioncap production deployI believe it should be the following:bundle exec cap install STAGES=productionbundle exec cap pr...
paul lahana replied

Forum Series Part 3: Nested Attributes and fields_for Discussion

29
General
What do you think about using ActiveForm? https://github.com/rails/ac...

Pagination with will_paginate Discussion

12
General
Hey,That was a great screencast! Keep up the good work. I was just wondering if there's a way to limit users from accessing pages without any posts? Maybe by editing routes.rb?
Sandhya replied

How to use AMP with Ruby on Rails Discussion

1
General
Hey Chris, this is great, thank you! One quick question - in my `` tag, I have a lot of code and multiple renders. I'm not sure where to put the canonical and amphtml links, since I have no `_hea...
Eduardo Lima replied

Has anyone using ruby 2.7?

0
General
Hi, I've been wondering what's the adoption of ruby 2.7. Has anyone here migrated a production app to 2.7? I've done some rudimentary tests on SaaSHub (development), and it's a touch slower in mo...
nozale posted

Rails PR Code Review with Kasper Timm Hansen from the Rails core team Discussion

2
General
Thanks for joining me Kasper!
Allen Arlene replied

How to render ActionText Attachments in Plain Text Discussion

0
General

Reddit style comment thread pagination Discussion

7
General
nice way to round out the tutorial! thanks for all your hard work
qiuzhi99 replied

Testing External APIs with VCR Discussion

1
General
I looked at VCR in the past and was a little intimadeted by it. Now that I have tried it, all I can say is how amazing it is! For n00bs, it is worth noting that after putting the configuration in ...
Diego Mota replied

Random Ruby — (Bi-)Weekly Email Newsletter

0
General
Hello there, good people! My name is Eugene and I'm the guy behind [Random Ruby](https://www.getrevue.co/profile/randomruby) newsletter. It's a free bi-weekly-ish email newsletter I've been making...
Frey posted

nested resources n your API Wrapper Rubygems series?

0
General
Forgive me for not knowing vultr and using a generic example but. lets say we use a service where customers have multiple products, and to access the products for a customer the endpoint is someth...

Searchkick/ElasticSearch not accepting Rails/Ruby booleans?

0
General
Hey everyone! I'm trying to get elastic search to work with a checkbox, but as they return a 0 or 1 as booleans, elastic search doesn't accept these params. Does anyone know how to get elastic sear...
Cory Johnson posted

Want to stay up-to-date with Ruby on Rails?

Join 92,299+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.