undefined method `service_path' when adding best_in_place

1
Rails
I have an application that has customers and services. Customers has_many services and service belongs_to customer. In the customer show page, I can add or delete services. But I can not edit servi...

Nested Forms Tutorial: How do you display the Tasks in the Project Index and Show Views?

2
Rails
I am trying to display the Tasks on the Products#index and get Type Error in Projects#index "can't cast Enumerator" How can I display attributes from tasks on the Products views? Here's my code...
Solved

Share scopes/nested routes/inherited resources?

0
Rails
I'm in the process of learning Rails (loving it so far) and my play project (A task list, obvs) is structured a little like this: Task -> belong to project/project has many tasks Task has scope...

Simple_calendar how to only show start and end date on calendar?

3
Rails
Say I have an event that starts on a given day and stretches out a month to an end date. Is there a way to only show the start and end date but do not show on the calendar the event listed for all ...

How do I share my master.key with capistrano deployment

1
Rails
After following the guide [Deploy Ruby on Rails on ubuntu 18.04](https://gorails.com/deploy/ubuntu/18.04) I still have several problems with the app. Shows me the same error when rails can't find ...
Erica McDevitt replied
Solved

How can I use summernote editor in rails?

1
Rails
I am making a notebook app and wanted to implement the summernote text editor, the docs for summernote-rails are nearly 3 years old, and I could not find any other proper guides to implement it. An...
Briton Otieno replied

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

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