When run Rspec System testing, the API is not working
I am currently using rails 6. When I run the Rspec system testing, the API cannot pass data to my index page. Here is my test code:
require "rails_helper"
require_relative "../support/devi...
Kent
posted
1
Rails
Embed Youtube video in Rails app
I second that Chris' answer should suffice. To answer Stephane, I usually have my model with a second column with the source, like YouTube or Vimeo. I create some logic that I can reuse on the view...
Tony Serkis
replied
•
Solved
9
Rails
Attempting to generate a URL from non-sanitized Rails 5 upgrade
Hi so Im upgrading my rails 4 app to rails 5.
I have a link with foo _path(params.merge(format: "pdf")) Im getting the non-sanitized error.
Im looking for the correct way of permiting the this p...
Francisco Quinones
posted
1
Rails
Manage multiple rails project with different versions of rails and ruby | RVM vs Rbenv | Bundler
I am new to rails so I have a lot to ask and I find out there is a huge debate on ruby version managers i.e RVM and Rbenv, and there is a bundler too. Now all the articles I have read are old and t...
usama akram
posted
1
Rails
Deploying error: The dependencies in your gemfile changed
Hello Devs,
I am on my way to deploy a rails app, but I got this error:
```
** DEPLOY FAILED
** Refer to log/capistrano.log for details. Here are the last 20 lines:
DEBUG [504959b4] Install mis...
ykostov
posted
1
Rails
Precompile error on hatchbox with yarn 2
I solved this by adding a `yarn install` to the deploy script on hatchbox:
```
-----> Precompiling assets...'
# Force webpack output so we can debug errors
if [ -w config/webpacker.yml ...
Matthias Orgler
replied
2
Rails
Using Activestorage how do I restrict a file that can only be accessed through links and not outside the website?
PDG+creative
replied
4
Rails
Hotwire turbo stream update_or_[append/prepend] ?
Oh, I just realized that this was already solved in turbo, https://github.com/hotwired/turbo/pull/240
Miguel Michelson Martinez
replied
2
Rails
Law of Demeter - Question
Thanks that's very helpful I'll read it. Perhaps I'll go with the follow that seems to be inbetween the two?
I'm going to think on your version and this one a little more. Try and work out the p...
David McDonald
replied
5
Rails
List of Ruby Gems by Category on Go Rails
That's exactly what I was looking for! Thanks a lot!
Splohr
replied
•
Solved
3
Rails
Create (or not) a BaseComponent to work with TailwindCSS and ViewComponent?
Andrea Barghigiani
replied
3
Rails
How can i get youtube_id form the embedded youtube video in rich text editor?
hello everyone, currently i'm working with rails fast json api. and i came into an issue which i need to response the youtube video which we embedded in the rich text editor to the client. i tried ...
lyden29
posted
1
Rails