How to do a time comparison in Ruby
Brief me with one example if possible . ThanksJames Darryl posted
Whats the best way to handle errors, when creating new records?
Yeah, this is something I will have to look into in more detail. I am new to the whole scraping of sites, but it's been a really cool learning experience and I am much more confident.I did have a ...Alan Reid replied • Solved
Tuning Ruby for development
I guess code blocks get confused with the hash symbol :)Carl Mercier replied
Can RUBY build graphical editors like this?
I think you would want to use Rails to provide the data via an API and then use something like Vue or React on the frontend for the UI.Chris has an in-depth series on a similar setup using vue:Rail...Morgan replied
How do I do upserts and/or conditional saves?
Excellent! Glad you were able to get it working! :)Jacob Montgomery replied • Solved
How do i implement load more comments or reply
wow no comment or reply .... go much for membership:)khemlall mangal replied
How to count comments like reddit (infinite nested model) ?
This app has build-in counter tbo blogs.madddee replied • Solved
Chat Using Action Cable part 3 - Chatroom and ChatroomUsers Association
I've been playing around and trying to implement a chat such as slack as shown on Chris's screencast. On Chatroom index I'm able to Show, Edit, Join, and Leave. However, when I clicked on Show e...RicePad posted
How do I add the amount stored in my database to Braintree::Transaction.Sale?
Am not known with the BT api, but one thing to check is in what way BT expects the price, eg. Stripe expects it to be in cents ($15 would be 1500).eelcoj replied
Optimizing Queries in Service Objects
It's not necessarily a single query that would illustrate the problem, it's how it's used that's the problem. That's why I say it's not something a more experienced developer may get caught by, but...Jacob Montgomery replied • Solved
Regexp for prices or how to detect price in a smart way
Yes, the edit is the way I went for. Per invoice there's just one currency, so no need for conversion there. I've been upping my regexp skills since this feature. Really now just need to whip up...eelcoj replied
Proper location for null objects
Alex, I'm chiming in with some practical experience, having written several medium-size applications with 50+ models. http://blog.makandra.com/2014/12/organizing-large-rails-projects-with-nam...Dan LeGrand replied • Solved
How can I subscribe a user when creating a new project?
Wow! Thanks for taking the time to answer. Always so helpful Chris! :grinning:Lauro replied • Solved
Retrieve all Project Threads where a given users has posted a Project Post
You need another table that handles assignments to threads. ```ruby # project_thread_access model # you'll need user_id and project_thread_id columns in this model belongs_to :project_thread_...Jacob Montgomery replied • Solved
How do I iterate over an array of nested hashes in a view?
Haha, making it harder is the easy part - making it easy is the hard part :) Anytime!Jacob Montgomery replied • Solved