How can i do this?
How do i reduce video size while uploading using active storage Rails 5.2.4.3
Asher Namanya postedHow do i reduce video size while uploading using active storage Rails 5.2.4.3
Asher Namanya postedThanks Chris for the response. Sorry for the delay, I had pivot to another project for small feature update. I feel I'm close to solving this issue, but I'm drawing a blank on the best approach to ...
Mountaindog repliedYou can just assign it to the window variable so it's accessible anywhere I believe. ```javascript window.$ = window.jQuery = require("jquery") ```
Chris Oliver repliedTake a look at Liquid and Panoramic! Source [https://medium.com/@pratikbh06/customisable-email-templates-in-rails-made-easy-using-panoramic-and-liquid-rails-d1d71f61387d](https://medium.com/@prati...
Henk Jan repliedI am using devise gem for authenticating users. I modified it a bit to let users signup using a mobile number instead of email id. Which now works as expected. What I want to do next is inviting us...
kshitijLohbare postedLet's say I have an attribute :year_of_birth for example and another field :age (readonly), I fill in the year_of_birth. And I make a method in a model to calculate the age, how does the age get po...
Samantha O postedHi, I'm trying to create an account from a popup form. But I get the first argument in form cannot contain nil or be empty. What am I doing wrong? class AccountsController < ApplicationCon...
Samantha O postedHey there! I have been trying to solve this for 5+ hours at this point. M D - did you ever figure out a solution here?
Greg Blass repliedAwesome. You can use the RAILS_LOG_TO_STDOUT env var to have Rails not write to the normal log file. You may also need to tweak the ActiveRecord logger if you need to turn it off.
Chris Oliver replied • SolvedI work with Rails remote form. After set the session like session[:user_id] = 123, the session is still blank {}. After I refreshed page, I got the user_id value. How can I access those session wit...
Uysim postedWhat is the path for learning Ruby on Raila? Which course do I start with? Thanks in advance.
ashritharai postedI have four models 1. Problem 1. User 1. Question 1. Reply ```ruby class Problem < ApplicationRecord has_many :questions end ``` ```ruby class User < ApplicationRecord has_many :questi...
Josh Goldman postedMy ActiveRecord queries are taking too much load time and slowing down my API response times. I don't even have much data in the databse, like for accounts table there are only 10 rows. I'm running...
Simmi Badhan postedHi Jacob, This post is from a while ago but hoping you can help as I'm working on a project that requires something similar. How did you "get a list of already booked appointments" as an array fo...
Emily repliedHey everyone, I'm just testing my first Rails app on mobile and whenever I submit a form I get a prompt to download the form target. See the screenshot below: [Download Prompt on iPhone8](https:/...
TensAndTwenties postedHi! I'd like to split my rails application to microservices, such as - main app 1 - main app 2 - main app N - authentication and account management - administration console - marketing console (bla...
Alexey Poimtsev postedI'm in a similar position. I would like a load balanced cluster in Digital Ocean but I'd like to take advantage of their load balancers, Managed Postgres and Managed Redis. Is there a guide to conf...
Olly Headey replied • Solved