
Autocomplete search across multiple models with results from each model
1
Rails
I'm building a simple wiki app and would like to introduce autocomplete search using Searchkick or pg_search. In the search box I'd like to be able to do a search across both an `Article` and `Cat...
Colin Ambler replied

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

Is there a beginners course?
7
Rails
Hi I've searched but I cant find a beginners to rails course, am I being blind? Thanks

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

Watched the video- One Time payments with Pay and Stripe- (embedded), Form never loads....
4
Rails
HAS anyone been able to get STRIPE EMBEDDED PAYMENTS working?
I followed Collin's course to the T, but when I get to the point where the stripe form is supposed to be inserted into my DIV on the Ap...
Jon Roock 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

How do I connect StimulusJS controller to ActiveAdmin resource
0
Rails
Hi Everyone, I've recently moved on rails 7 and new to stimulus as well. for some reason when i connect my stimulus controller to normal index.html.erb file (or any other file outside activeadmin) ...

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

Graphql on Rails
6
Rails
Hi Chris! Could you please publish a lesson or guide about using Graphql with Rails? Thanks!
Álvaro FA Araluce 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