How can I do drop down dependencies?

0
Rails
First: Apologies if already addressed. i have two situations where i need dropdown/select dependencies and wondering if anyone can help with a simple way of handling this using Rails, gem, mininal...

How to render partial as a json response for json format?

0
Rails
Hi Guys. Recently i ran into a problem which does not allowing me to render a partial as a JSON response for .json requests. Below you can get in more detail. I have a partial resides in below pa...

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

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

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

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

can't install rails

3
General
i have sqlite3 3.43.2 and ruby 3.2.2 on windows 11 I'm trying to download rails but nothing seems to be working. not homebrew, ubuntu or gem install rails bundler --no-document i'm not sure which t...
anamint minths replied

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 merge query parameters into URL like Nomad List?

0
General
[Nomad List](https://nomadlist.com/) is a crowdsourced database of cities for Digital Nomads. They do this really cool thing for SEO where as you apply filters, the database is queried and the home...

Learning Ruby on Rails? Join our newsletter.

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