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...

Expanding beyond a basic Rails CRUD site.

1
General
So I've got a fairly basic CRUD style rails app, which has a list of `Gins`, `Distilleries` and and blog `Posts`. I'd like to expand it quite significantly in the following ways: * **Add authen...

Writing Tests for Scheduled Blog Posts Discussion

1
General
So nice!, what do you think we could use RSpect, TestCases or minitest?
Evan Yost replied

How To Create A Gem For Frontend Javascript And CSS Libraries Discussion

4
General
Thanks for posting this video! it really helped me with creating my own gems. here is the last one https://rubygems.org/gems/aw-highstock_rails for pushing it to https://rubygems.org/ i used `gem ...
Marco Beffa replied

Inline Editing with Turbo Frames in Rails Discussion

5
General
How would you abstract the polymorphic path if you wanted to use the inline edit/fields partials both in forms that are namespaced like in an admin route (e.g. a form at admin/settings/show) but al...
Jeremy Bray replied

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...

Template Locals in Rails 7.1 Discussion

5
General
This is a great addition to Rails. It makes partials feel a lot like calling methods with required and optional arguments.

How to solve the human varification error in a website?

1
General
I am working on a client website, and the problem on human varification is appearing again and again, does any one know the solution. here is the page link which faced the most errors.

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 ...

Automatic Transcriptions Database Model Discussion

0
General
This series looks really interesting, can't wait for the new videos!!!

Adding a Blog Post Show Action Discussion

2
General
Thank you for explaining the "magic" as well - it really helps to see how it works underneath the hood for better understanding!
CarlosLeonCode replied

How to Extend the Ubuntu Default Logical Volume Partition Discussion

0
General

ActionText remove attach file button from Trix editor

4
General
Is there a way to prevent the attach file button in the trix editor for ActionText? I mainly want the formatting ability for things like bold, italics, number lists, etc. But do not want the atta...
Chuck replied

Improving app:update command for Rails 7.2 Discussion

1
General
Using Rails main, betas, or release candidates are great ways to find bugs and contribute to Rails itself. 🎉
Ricky Garrison replied

Rails upgrade companies

3
Rails
I'm wondering if anyone has any experience with any of the Rails upgrade companies that are out there? We're looking to get all of our apps on the latest and greatest and trying to decide if hiring...
robert replied

Ruby gems to interact with Raspberry Pi GPIO

2
Ruby
I'm doing a small project in Sinatra where I want to unlock my doors via internet and Pi. Super simple. I'm still learning Ruby and Rails. I was searching for a Ruby GPIO gem and there is a quite f...
Aware replied

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

__FILE__, __dir__, and Symlinks Discussion

0
General

Want to stay up-to-date with Ruby on Rails?

Join 90,472+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.