Activeadmin with actiontext in Rails 7

0
Rails
How i can use activeadmin with actiontext in rails 7
Muhammad Bilal posted

Need help on Webpacker issue with Rails 6

0
Rails
I am using Rails 6, Ruby 2.7, and Webpacker 4. X I am getting below error ActionView::Template::Error (Webpacker can't find application.js in /Users/developer/Documents/Projects/knowhub/public/pack...
swathi arisankula posted

How would you approach adding students to classes?

4
Rails
I have `SchoolClass` and `Student` resources. Students belong to classes through `ClassMemberships`. So far students have been added to classes using a grid of class checkboxes on the Edit Student ...

Ruby on rails - what is the best way to add social authentication in the project?

4
Rails
I want to add social authentication in my project like user can also login with Facebook, Github, and Google. I have already added the simple authentication with the devise gem. And now I want to ...

rake db:create fails while following Windows 11 Rails setup guide

6
Rails
As the title states, while following the Windows 11 Rails setup guide I found that whenever I run `rake db:create` it fails with the following error: ``` PG::ConnectionBad: could not connect to ser...
Freibuis replied

Redmine Rails

2
Rails
Hi, i have trouble with ruby ( i dont know any ruby basics but im edititing redmine plugin ). I prepared method def getDateForRedmine( startDay, endDay, limit, date ) datetime = Date...
This Guy replied

Honest opinion needed

2
Rails
Hi guys, I'd love to learn more on ROR and it appears this is a really comprehensive site, but a lot of the content seems rather dated. I want an honest opinion on whether a subscription to this s...

How do i can add text-alignment to trix ?

1
Rails
Hello. Im trying to add text-alignment functionnality to a trix rich-text editor in a rails 6 app (its for a blog). I find somes example on stack overflow or trix github about adding colors, h ta...
Brendon Muir replied

How to deposit, withdraw, transfer coins...

0
Rails
Hi Chris,I want to create an app where I can keep track of my cryptocurrencies.This is what I have right now:Coins (can have many wallets)namesymbolWallets (belongs_to coin)(has_many transactions)c...

capistrano deployment fails node and yarn is installed in the server

0
Rails
00:29 bundler:install The Gemfile's dependencies are satisfied, skipping installation 00:30 deploy:assets:precompile 01 $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ...
Tahir Ahmad posted

Extend Sprockets to bundle mustache templates

3
Rails
I'm trying to include some Mustache templates into the main JS bundle. The idea is to take `/app/templates/*.mustache` files, generate a JSON object, and set a window-level variable, like this: ``...
Solved

Turboframes not replacing when placed in another partial

2
Rails
I am trying to create a modal or a drawer which allows me to edit a form. When I place the `turbo_frame_tag` in the same file like so. The form shows up properly when I click the link. **admin/pe...
HP replied

Global User for Multi-Tenancy with Local Tenant Users

2
Rails
I'm watching the rails tutorial on the apartment gem and am curious how to manage my Users, which I've already created through Devise and implemented User Roles. Essentially, I want one Super U...
neiladdams replied

How do I add a /user.json file using devise?

0
Rails
I'm trying to complete the episode 78 "@mentions, autocomplete, notifications, and links" but I'm using Devise. The part I'm stuck on is I can't figure out how to fill in the /users.json ...

How to access a webpage and get its content

2
Rails
Hi, good afternoon. Chirs, I would like to access a website and get its content from its page to create a database with this information. It is about a game so, it is a common information that I ...
Simon P replied

Format of created_at for date range using Searchkick

12
Rails
I am using searchkick to build out a searchform that has a couple different parts to it and searches across multiple models. I am specifically trying to get a date range setup so the user can searc...
Chris Oliver replied
Solved

Webpacker noob - so I saw your video and im using rails 6

3
Rails
how does one go by installing https://github.com/metafizzy/isotope with webpacker? ``` yarn add isotope-layout ``` ``` require('isotope-layout') ``` now I get an error ``` .col-md-9 ...
Gus P replied
Solved

Websockets with Rails(Passenger) - Error during WebSocket handshake: Unexpected response code: 400

1
Rails
Hi all, I am trying to deploy ActionCable and Rails 5 To Production server (DigitalOcean). I have followed all steps mention in the Gorails video here: https://gorails.com/episodes/deploy-actionca...
Rizal Yusoff replied

Error 500 on Heroku (app Ruby on Rails)

0
Rails
Hello , I created an app on Ruby on Rails, and everything is ok on my localhost. But on Heroku, it doesn't work : *We’re sorry, but something went wrong. If you are the application owner check ...

Why this error ? how I fix this.

4
Rails
I have a form that has fields from two different tables, the Patients table and the Addresses table. Please make a search field to use only one patient (Patient) and return his data, up to the fiel...
Thomaz Wanderbruck Schmidt replied

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.