Best practices for structuring reusable frontend components (coming from Angular/React) ?
0
Rails
Hey I'm an Angular developer diving into the Ruby on Rails, and I'm trying to figure out the best way to structure reusable frontend components, like buttons, in a Rails project. Especially because...
Cengiz Gürtusgil posted
convert from svg to png in active storage
0
Rails
Can I convert a uploaded svg file to png format? In previewer class?
How do i make chat app real time on Digital Ocean?
2
Rails
I am trying to make a Chat web application based on Rails 4.0 using "private_pub" gem which works perfectly on my localhost server. You can check out my application at curatethelens.com. Now my sit...
Maria Kenneth replied
how to properly configure webpack for production
0
Rails
root@ubuntu:~/Make-Rails# ./bin/webpack
[webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
- configuration.no...
Sourabh Soni posted
DateTime causes StackError when config.time_zone set.
5
Rails
Hi,
I have a strange problem
When i do the following method with no config.time_zone set in the application.rb it works.
```ruby
def send_assignment
@assignment = Assignment.find(params[:id])...
Unable to autoload constant OmniauthCallbacksController, expected /home/ec2-user/environment/Assignment/app/controllers/omniauth_callbacks_controller.rb to define it
0
Rails
Hi Guys i am getting an error this is is my Omniauth controller
class OmniauthCallbackController < ApplicationController
def twitter
twitter_account = Current.user.twitter_account...
How can I validate from a gem that doesn't have the proper validation calls in the model?
1
Rails
Hello Folks,
I want to do validation for my mail functionality on my web page. I want to require that a recipient has been entered as well as a subject and body when a new mail is written.
The pr...
wyn replied
how to add a forum template to ruby on rails?
0
Rails
I'm new to ruby on rails (I'm more used to PHP) and I'm wondering how to add a dynamic template (made of HTML, JS, and CSS) and integrate it. can I just add it to views or do I have to use the gene...
chickencommander123 posted
No route matches [GET] "/auth/facebook"
1
Rails
Hi folks!
I am just starting to learn Rails, I want to make a simple OAuth Facebook login and display it after a successful login.
I always got No route matches [GET] "/auth/facebook" and can't fi...
Henry Augustianno replied
Active Storage Validations Gem and Active Storage problems in nestted params
2
Rails
gem active_storage_validations 1.0.3
I have two models with **"has_one_attached :image"**, 1 model is created with a form, and the second model is created **"after_created callback"**, when i try t...
wtfchamp replied
Link_to show rendered in terminal before clicked is normal?
2
Rails
I create a new project and when i pass the pointer over the link_to, i see in the terminal like an i clicked. This happen in every new proyect created, this is a normal function or how can i solve ...
NellyAurora replied
What is the proper way to do form validations in ruby on rails on the client side ?
0
Rails
I am new in rails, how can i do the proper form validation from the client side .
Ajay yadav posted
Uploading a PDF file directly into Sharefile via their API
4
Rails
I need to upload multiple large PDF files directly into a ShareFile Folder (https://api.sharefile.com/samples/ruby). Right now I am reading and saving the file data as binary data in a model and th...
Mario Joseph replied
Configure Redis Session Store
0
Rails
Seems pretty straight forward however, I am getting an invalid authenticity token error upon form post with my app.
Here's what I have set in config/environments/development.rb:
```
config.sessi...
Derek Dyer replied
Solved
Encountering an error when installing rails application into the project
0
Rails
Hi,
So recently I cloned a repo from Azure DevOps into Visual Studio 2022 and proceeded to install a rails application into the project, but encountered an error even though a ‘development’ branch...
Asim Mehmood Khan posted
Developer wanted
1
Rails
Looking for a developer:
- Ruby on Rails
- Shopify App Experience
robert replied