Search Results for "best-way-to-create-or-save-a-record-with-associations-as-a-template-3cbb4db5-2a4d-4b55-8f8c-a2e947118dc8"
Lessons
Forum Threads
Best way to create or save a record (with associations) as a template
10
General
I'm curious as to what people think is the best to create a new record, or save an existing record... as a template. The template would be used as a starting point to duplicate that record easily ...
tquill replied
Rails csv import with associations
8
Rails
I am building a rails application that associates posts with many different categories. For example, I have a Post and need to be able to assign it to the categories Sports, News and Science throug...
Chris Oliver replied
Solved
Liking Posts Discussion
96
General
Learned a lot of new things through this post, thank you. Never knew how to properly write a route to a module or the proper architecture for that set up. Very useful stuff. Would have liked to s...
Someone replied
Best way to create a belongs_to object from a has_many
19
General
Sorry for the vague title but I cant think of a better explanation! Let's say I have a list of Users and an admin could click a button/link that would create a site for them from the existing ...
alangosh replied
Solved
Pull data from another table in a lookup
53
Rails
Hi all,
I am looking up a list of articles, depending on the brand ID's - `@articles = Article.where(brand_id: brand_ids)` what i would like to know is there a way to retrieve the brand name in thi...
Jacob Montgomery replied
Solved
Deploy Ubuntu 12.04 Precise Pangolin Discussion
104
General
Great tutorial!Just one thing, the Gemfile it's wrong, it's pointing to the wrong repository of each capistrano implementation. This should work:gem 'capistrano', '~> 3.0.0'gem 'capistrano-bundl...
Someone replied
Rails Counter Caches Discussion
14
General
I feel this video was cause of me in the forum haha!A+++
Recurring events with the ice_cube gem Discussion
47
General
On my app I use a Event and a EventTrans model so for each time a event occurs we can have a record with info and other stuff. So for the Calendar we display the First event with the recurrent on t...
Idea for TimeClock Need Advice
27
General
I'm wanting to integrate Time Clock functionality into an existing Rails 3.2.21 app. I think I have an idea of how to do this, but I need some advice on the how to handle different scenarios.
So ...
shakycode replied
Can you make an episode on Recurring Events- recurring_select + ice_cube
17
Site Feedback
Can you make an episode on this! I've gotten to the point of adding recurrence rules, but having trouble generating and showing events that are recurring on future dates the same way they appear r...
Francisco Quinones replied
Subscriptions with Stripe Discussion
96
General
Hey Chris! Not sure if this is just me, but there seems a problem downloading the video's.
Create a filterable location based database with Google Maps API?
1
Databases
I’m not sure exactly how to word the functionality of what I’m trying to build but let to give it a shot here to see if someone has built or seen something similar
I’m working on a web app that wi...
ammys09 replied
Improving In-App Notifications Discussion
24
General
+1 for the ActionCable episode!
Taylor Cooney replied
File Uploads with Refile Discussion
96
General
Awesome.
Runong W replied
How to upgrade from Turbolinks to Hotwire & Turbo Discussion
12
General
Hey Chris, thanks for going over Turbo and StimulusJS 2.0 changes, I'm really excited about using them in my projects!
One really big thing that would be great to cover is using dialogs/modals wit...
Thomas Connolly replied
Multitenancy with the Apartment gem Discussion
80
General
Hi, Chris video is not loading!
Prajjwal Gupta replied
How to display multi-day events in SimpleCalendar?
20
Gems / Libraries
Hi there,
Not sure if i've missed something, but i'm not able to get multi-day events to show over the date range using SimpleCalendar.
From what I've read on the Gem homepage, I've passed in the...
Nikodem Gorak replied
How to write a conditional in a create action?
4
Rails
I recently worked through the 4 episodes here on direct uploads to S3 with shrine.
I have things setup to upload both images and documents and am now trying to write a conditional to create either...
Nested attributes
4
Rails
Hi All,
I'm working with nested forms and I'm stuck trying to create the two models and the controller to handle this association.
My models following this structure:
Survey -> recipients <...
Giancarlo Corzo replied
Solved
I'm lost and can't find the way out
18
Rails
So I'm in the middle of this project and I thought I could figure it out on my own, but it appears I am in over my head here. So any advice/help you can give me would be great.
Basically I'm tryi...
Andrea Fomera replied
Solved