Search Results for "best-way-to-create-or-save-a-record-with-associations-as-a-template-3cbb4db5-2a4d-4b55-8f8c-a2e947118dc8"
Forum Threads
Best way to create or save a record (with associations) as a template
Daniel,
I agree. I did try having separate models for templates and non-templates (and all of the associated records), and it was a terrible approach. As you mentioned, it was a lot of unnecessa...
tquill
replied
11
General
Best way to create a belongs_to object from a has_many
In essence, this code structure enables the creation of listings that are independent of users, offering flexibility in your application's data modeling.
alangosh
replied
•
Solved
20
General
Liking Posts Discussion
Hey! I really appreciate all these screencasts, happily pro user. For this I'm getting an "undefined method 'likes'" on the user model so i'm a little stuck. Any ideas why?Cheers! :)
Juanmnl
replied
97
General
Idea for TimeClock Need Advice
Ok, I spoke to soon. I thought I had this all wired up and the `complete` scope working. But the `!where` doesn't work any longer. I had to write the scope as such:
````
scope :complete, -> ...
shakycode
replied
28
General
How do I display several posts in related "weeks"
Wow, you can't imagine how much you helped me. Thank you. I think I learned a lot already, because I started to write my own blog as a Rails application, but I have to admit, that it was not a good...
Sebastian
replied
18
General
Realtime Nested Comments: Part 3 Discussion
it was really painful to add the current_user (if you want to have edit and delete only for the person who created that comment) to this since device's current_user method it not working with hotwi...
OuttaSpaceTime
replied
33
General
Using the Trix Editor plus File Upload Attachments Discussion
Hi there! Any idea why uploading works in development locally, but not on ngrok or in production?
I get this:
application-f91eb14d1a71eb1bded7bacba5a2c9f6e50d1ef47606669468a65584ed3f021d.js:18352 U...
Gabriel Ursache
replied
53
General
Pull data from another table in a lookup
Sweet, I'll have to play around with it, I love a good editor! :)
Did you ever mess with Summernote? http://summernote.org/examples/#hint-for-mention
They support mentions out the box it looks lik...
Jacob Montgomery
replied
•
Solved
54
Rails
Multitenancy with the Apartment gem Discussion
its possible to use this gem without subdomain. So every tenant will have same domain but inside the logic there is scheme segregation ?
soutsur
replied
80
General
Activity Feed From Scratch Discussion
Hahaha! That is awesome. I loved Digg. I used to watch Diggnation sooo much.
Chris Oliver
replied
18
General
Improving In-App Notifications Discussion
Just the answer I was looking for!
Taylor Cooney
replied
25
General
Ecommerce multi-step checkout with guest accounts
Oh believe me, I've looked into the 3 S's for almost every e-commerce project I've tackled! It seems like I always come to the same outcome though- they provide 50 features when all I need is 6. Th...
Mark
replied
11
Rails
Recurring events with the ice_cube gem Discussion
Hi Chris.
This is an old episode and an old discussion. But it's still relevant, I watched it and used it in my Rails 7 project. But what I want to add to the Set Schedule dialog are the 'until' a...
Margarita Barvinok
replied
48
General