Ruby on Rails Community Forum

Building AnimatedGif.me Part 1 Discussion

4
General
This is awesome Chris! Thanks so much! This will help me and my team better understand rails coding from start to finish!
brobles replied

Having issue with Nested routes and form

0
Rails
I know this is probably simple for most of you folks, but I am trying to work through an area I am weak on in Rails which is forms with nested routes. First here is what I have... Models Topic - h...
Mike Chilson posted

How do I delete orphaned children record from my model.

0
General
After a parent model gets deleted it turned out the children became orphaned and I have now added a dependent destroy on the child model to ensure it gets deleted when the parent is deleted. Will u...
James Okunlade posted

Getting stuck

2
General
Hi Everybody, What am I missing? I have a model called Exhibit that belongs to a Request model. I have a Note model with a polymorphic relationship as the note can be about either an exhibit or a ...
EshalHood replied

Advanced search feature in ruby on rails?

0
Rails
I have a "score" attribute in my "sheet" model which updates daily . and I need to calculate the "average_score(n)" . and add a search feature where the "user" can search for sheets where "averag...
ratnarajsukale posted

what options are there to license my rails application to endusers, like concurrent users or counted users. How can we manage that with rails, or so I need to write something from scratch

0
General
SO I have created an rails application, that I want to distribute for a fee. It will be hosted on AWS elastic servers with autoscale. I need to somehow have the ability to generate liceses for ...
jl@lejoly.com posted

insert id into join table

1
Rails
Hello, I would like add current id (document) and many user_id into my join table. I use rails 6, but i don't find a documentation for add user_id and document.id into my join table. I have a mo...
Hamd replied

My Development Environment Discussion

26
General
Vim tip: you can type :help [command] and vim will tell you what that command does. sometimes these descriptions can be so descriptive they're sort of confusing.the one that saved me SO MUCH time, ...
Arthur Cheek replied

Regarding Rvm installition.

1
Rails
how we install RVM, becasue above only rbenv.
pyscho replied

Throttling Infinite Scroll Events in Javascript Discussion

0
General

How to Write C Extensions for Ruby Gems Discussion

1
General
Hey @chris, great screencast! Thanks!
Jurell Tanksley replied

search and paginate inside of dropdowm-menu

0
Rails
I'm new to web applications in general, and I'm starting with Rails. I'm trying to create a _dropdown_ menu in the `html.erb` file using the `form.collection_select` command, but I'd like it to inc...
Hossein Vatani posted

Storing Product Properties

0
General
I'm creating a jewellery product catalogue application and I need to store properties for each product such as material, finishes, product type etc. I've concluded that there needs to be a model f...

Impossible to install Nokogiri - OSX Mojave 10.14.2

10
Gems / Libraries
Hey Everyone, **Since the recent update (10.14.2) Nokogiri gem cannot be installed in my app.** When I run `bundle install` , I get the following error: ``` ./siteconf20190109-70456-1diyett.rb e...
fopps replied

How can I integrate Amazon Native Ads

10
General
Im having troubles integrating Amazon Native Ads into my rails apps. I think its a problem with turbolinks but not really sure. Amazon says to just past this code into your html wherever you want...

How do render different show pages for my blog posts.

0
Rails
I have 3 different categories : themes, snippets, projects. Each blog post must related with those three categories. If anyone click post(assume related category is snippets), it display in diffe...
Medves Larisa Viviana posted

Disabling ActionCable for Unauthenticated Users Discussion

14
General
Hey Chris,I tried to integrate the meta tag if else statement into the group chat app in the channels/chatrooms.js and got "cannot read property `send_message` of undefined" error. It was surprisin...
Imallek replied

Is it possible to use Vue Components like VueTreeselect in Rails or what would be a possible alternative to VueTreeselect?

0
Gems / Libraries
Hey, I found this nice multiple nested dropdown: https://vue-treeselect.js.org/ which allows to select in tree like structure and I would like to use it for categories. I want to select several...
OuttaSpaceTime posted

How to use Google Maps and Markers Discussion

16
General
Awesome video. I am wondering how would I take the show page and link it to a different js file. The index.js is global correct? What would be the best way to setup a show view with just the map...
Jacques replied

Using TDD To Fix A Bug In The Kredis Gem Discussion

0
General

Learning Ruby on Rails? Join our newsletter.

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