Edit Data on same page

2
Rails
Hi there guys, I would like that you help me found a tutorial to edit data on the same page and save to database.

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

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

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

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

Today I Learned!

1
General
I thought it would be fun to start a thread where we can post the things we've learned recently. Today I learned that `__dir__` returns a full path while `File.dirname(__FILE__)` returns a relativ...
cjilbert504 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

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.