Rails ActiveAdmin reset password token is invalid

0
Rails
I have a Rails API with ActiveAdmin, using this tutorial as a base to get started: https://blog.heroku.com/a-rock-solid-modern-web-stack When a user chooses the 'Forgot your password?' link in the...
Terence Devine posted

How to Reduce Ruby on Rails Maintenance Cost?

0
Rails
Need to know how can one reduce ruby on rails maintenance cost.
Katy Slemon posted

How do I send Stripe payment invoice only for paid subscribers not trial subscriptions.

0
Rails
Hi, im new to RoR and I have a working system that is sending invoices via email. But I would like to exclude trial subscribers from getting the $0 invoice in their email. Payments being handled wi...
Fungayi Makoni posted

Rails install error

0
Rails
Hello, I am using the Ruby version 2.7.2 and while installing rails I got these error - ERROR: Failed to build gem native extension. So, please can anyone help me. Thank you, Neha
Neha posted

Rails 6.1 Active Text Javascript errors

0
Rails
I am making an article section in my Rails app. For this reason I thought Active Text would be a good idea. I have added it as per the Rails Guides as per https://guides.rubyonrails.org/action_text...
Tom Dringer posted

Validation errors on model available in the controller but not in the view - help please?

1
Rails
I've got a password reset form setup that is not displaying any errors at all and it's killing me. If I input a password (but no confirmation) -- I expect to see 2 errors. Those 2 errors are in t...
Iain replied

How to send a file to front-end from Rails server deployed in heroku ?

1
Rails
I have a Rails application with React in the front end and deployed in Heroku. I am trying to send a file from the server to the browser side. I did saw the Rails "send_file" but it makes use of R...
Mads Obel replied

sending the simplest of emails? (ruby or RoR)

1
Rails
(newbe) Am I missing something very basic, what does it take for me to send a simple email with 'hello' to my personal inbox in ruby (or Rails) in php it's this simple : mail("someone@example.com",...
Chris Oliver replied

Strategy To Track Progress For Completed Nested Lessons

3
Rails
I have models for _Curriculums_, _Chapters_ and _Lessons_, and would like to track _Progress_ for the user. _Curriculum_ -> has_many :chapters _Chapter_ -> has_many :lessons, belongs_to :cu...
Sean replied
Solved

Upgrade strategy from Rails 4.2.4 to 6.0.3.4?

1
Rails
Background : I started learning ruby & rails back in 2016. Built a fairly decent project as a self-learning project. Got busy with other stuff and didn't touch ruby or rails until this Decembe...
Chris Oliver replied
Solved

How do i resolve this error

0
Rails
Whenever i run this command gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 \ 7D2BAF1CF37B13E2069D6956105BD0E739499BDB It shows an error: gpg: keyserver re...
Rubal posted

I need to create a separate link for showing the comments for a particular post.

0
Rails
I do not have a clear idea between the controller and the views. Also I dont have the Idea for the def show etc in controllers. Please reply me ASAP.
Thilak S posted

NoMethodError in TweetsController#create undefined method `publish_at' for nil:NilClass

0
Rails
I am new at rails and just complete Chris tutorial in gorails.com => schedule_tweets. But I could not send any tweet , I did the UTC modification for america/brasilia, when I make a schedule twe...
Adalberto Caldeira posted

How do you include Awesome Font 5 in PDF format rendering?

0
Rails
I'm using wicked_pdf gem for rendering show template view with PDF format. But, unfortunately, awesome fonts were not shown but blank space. Is any solution for this? Thank you in advance.

Render :new form is blank

0
Rails
In my create method I have the following: respond_to do |format| if @purchase_agreement.save format.html { redirect_to admin_purchase_agreements_path, notice: 'Purchase agreement was succes...
Amanda posted

installed ruby and then rails but unable to start local server successfully

0
Rails
how to address this:92:depot tesfaye$ rails server => Booting Puma => Rails 6.1.1 application starting in development => Run `bin/rails server --help` for more startup options Exiting /Us...
Tesfaye Mentor posted

Is there a way to validate image uploads to validate dimensions?

2
Rails
Hi, I want to validate my image upload field by making a user upload only a square image (i.e 200px x 200px). I'm basically wanting square image dimentions so it will resize and nicely and not loo...
Umesh P Kafle replied
Solved

Shrine default_url with webpacker

1
Rails
I am using Rails 6.1.1 with webpacker and Shrine. The issue I am coming across is using the default URL plugin with webpacker based assets. When I use it in development it seems to load just fine b...
Dieter Lunn replied
Solved

"rails for beginners part 21"

4
Rails
i cant make work user.signed_id, it raises a no_method_error: irb(main):010:0> user.signed_id Traceback (most recent call last): 2: from (irb):9 1: from (irb):10:in `rescue in i...
gabriele garretto replied
Solved

Error Installing Rails 6.11

0
Rails
I need to install `gem install rails -v 6.1.1` but I receive the error `OpenSSl is not available. Install OpenSSL and rebuild Ruby (preferred) or use non-HTTPS sources` and I've updated OpenSSL to ...
Nic Pismiris posted