Always an app idea, never an app? Come to my webinar and find out why
@coloradobum Yeah...thuogh I don't have to drop in to arel if it can be done wihtout...I just couldn't figure it out after the others went fast.....and the documentation wasn't helpful - at least what I could find.
@coloradobum well, i live in rural northern Vermont, so I'd like to work remotely...ideally, I'd like to start with a company that has a strong remote culture and also develops people well....a learning culture.
@coloradobum That's actually a really good question. I serve on two non profit boards - a legacy of my previous career - and I probably should give one of those up. Other things in my life are harder to give up....but I should think hard about what is really adding value to my life.
@coloradobum Well, this is all I have at the moment, and it's not close to working:
It's an example from Flatiron - the idea is that there are captains and there are boats and the boats have multiple classifications (like tags). So I'm trying to return all boats wtih exactlty three classifications....
I appreciate any and all help you can give me. The other methods work and fulfill other requirements.
@betamatt I'll give that a try - thanks. Wish I could just whip this stuff up like that!
@ngw Much thanks. Focus is the biggest challenge - I have a lot of things in life that I enjoy....so blocking things out and focusing is hard...thanks for the reminder!
@betamatt The last one - all posts that have a quantiy of four categories - so I have to count the quanity on the related table....make sense?
Trying to use Arel to query and count. For example, if I have posts in a blog that have categories, related through a post_categories table...how could I get all posts with four categories?? #help
@robotdeathsquad I have an old CompSci degree I earned back in 1993. But after that, I went into a different field and became a hobbyist. I've build a lot of websites and done some Wordpress hacking, but now really want to up my game.
@ahawkins Not a lot of clear documentation on Arel that I can find.
@ahawkins Thanks!! At this very moment I'm trying to wrap my head around Arel and Active Record...chaining these queries across relations, etc.
@alexgc Alex - nice to meet (so to speak)... I am in the NEK - St. Johnsubry - and I'm working throught the Rails section of Flatiron now...would love to buy you coffee (or beer) and pick your brain (so to speak, again).
Learning Ruby (via Flatiron and other resources) and hope to start a new career path as a Ruby dev. Possible? We will see.....
Live in rural Vermont, so also love canoes, mountains, and dogs. Not a hunter, though, ok?
Let's be friends!
A Mastodon instance for Rubyists & friends