How do I display a list of Favorited Posts from forum on the User Profile page?
Hey Erik, Yeah it seems as though it's not accounting for the post favorites for the user after checking rails console so I think I found my main issue in the `favorites_controller`. I need ...Rob Sturcke replied • Solved
Update and validate multiple entries
Hmm, this I'm not sure of. Someone with more knowledge of transactions and/or validations may have a solution if it's even possible... From my understanding, a transaction gets rolled back as so...Jacob Montgomery replied • Solved
How do I submit multiple checked items?
Sorry was just testing something out :)Alan Reid replied • Solved
Rails csv import with associations
![thumbs up](http://i.imgur.com/F0sAGUr.gif)Chris Oliver replied • Solved
How do i add a ":unique => true" to an already existing reference?
add_reference :table_name, :column_name, unique: true, foreign_key: true I think ;)Félix Landry-Audet replied • Solved
Multiple select for CSV Export
Perfect. Thank you for the hint. I've resolved it like this: Form: ``` true, :size => 8 %> ``` Controller: ``` params.require(:report).permit(:title, :start, :end, brand: ) ```...Sascha M. replied • Solved
[Performance] - Can I Still Refactor This Code?
Got it. I'll give it a try!Zulhilmi Zainudin replied
Is there a better way to simplify this?
You can customize it, but that's the inferred default name.Chris Oliver replied • Solved
why .limit not working with find_by
For clarity, you might want to swap your variable names, because `@categories` is actual a single Category, and `@category` is an array of Categories.Chris Oliver replied
Routing question: Pass a 2nd parameter in the URL?
You're making super good progress. And I know right? I started with GW-Basic, VB6, some C++, Java, back in my early days and it wasn't till I found Python that I felt like I could actually be produ...Chris Oliver replied • Solved
Was wondering id there is a way i can simply this ...
would this be the same if i wanted to get a variants volume type? Would i need to add `, through: : products` on the `has_one :volume_types` in the `product_variant` model I have the following....Alan Reid replied • Solved
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 ...Jacob Montgomery replied • Solved
How do i save a field in a separate table?
Hey Alan, That's a pretty good way of doing it. The logic is that if a user isn't connected to a brand, then don't allow them to edit. The `current_user.brands.find` actually uses the join table...Chris Oliver replied • Solved
FAO: Chris... URL Errors on pretty much any Rails site
My point is that while the W3 Spec states that mixed case is how it should be, but this is the first time I have experienced an issue with mixed case URL's. - I can understand the need for them, bu...Alan Reid replied • Solved
Cheers Andrew, `Orders` makes much more sense :D thanksAlan Reid replied • Solved
Issue with devise
I am having the same error (with Devise within an engine) - can you say more about your solution?Bill Tihen replied