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

11
General
Best way to create a belongs_to object from a has_many
Can a listing exist without a user? If so then you'll want to add the optional: true to the has_one :user on the listing model then you should be able to create it without any problems.#columns: us...

18
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! :)

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, -&g...

28
General
In-App Messages Between Users Discussion
I know how to find and choose good message tones at Phoneringtones.info

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

18
General
Realtime Nested Comments: Part 3 Discussion
<%= render comment_with_replies, current_user: current_user %>
if current_user.present?

32
General
Using the Trix Editor plus File Upload Attachments Discussion
Thanks for the episode. Trix is easy and works great but is there a way to style the images. I managed to get them to align left or right but cannot get them to float left or right with text aroun...

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

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 ?

80
General
Activity Feed From Scratch Discussion
Hahaha! That is awesome. I loved Digg. I used to watch Diggnation sooo much.

18
General
Improving In-App Notifications Discussion
Just the answer I was looking for!

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

11
Rails
Recurring events with the ice_cube gem Discussion
This is not a solution and the code is bad, but since the NPM package is outdated as well as the ruby gem, it at least "works" in Rails 7: https://github.com/robault/event_scheduling
Uses an updat...

46
General