Deck Builder App. How do I query only decks you can make with the cards in your inventory?
Thanks Francisco! I corrected the typo.Matias Fernandez replied • Solved
Everyone's Been Bitten Before - Whitespaces/Unwanted Characters in User Input
Hey Chris, thanks for the awesome and details response, and so quickly too! Great details consideration there, I think you're right on the money with the two points around callbacks and gems/de...Nick J replied • Solved
What text editor are you using for GoRails Forum?
Thanks Jacob! Awesome Chris! I will take a look.Lauro replied • Solved
[HATCH] Error deploying app
![bill bill bill bill](http://i.imgur.com/F0sAGUr.gif)Chris Oliver replied • Solved
Autoloading models not working
Ah glad you got that fixed. I was going to reply yesterday and got distracted. I figured that there was something up with the folder naming and the naming of the classes. Rails always expects you t...Chris Oliver replied • Solved
why drop down menu (Account Setting)is not showing in sidebar?
i found the problem here , some css class issuenaveen kumar replied • Solved
How to add ssl to the CDN of AWS
I got it working. I need it to use ssl with a wildcard for subdomain for the assets. Now im using cdn.mysite.com with dns and works great.Francisco Quinones replied • Solved
Is it necessary to use authentication with an API if there aren't really any 'users'?
EDIT: Yeah, guest users / anonymous users are overkill. I just dont need traditional authentication at all.Greg Blass replied • Solved
Extend Sprockets to bundle mustache templates
Chris, you can create an episode about this. I'll share more detailed code example if you like :)Alex Musayev replied • Solved
why destroy action is called two times.
when i put this link_to in the modal it automatically started working correctly . You are right modal trying to update after the destroy , the code is working fine now.naveen kumar replied • Solved
Get Paperclip file before save
Turns out it is as easy as this ``` Paperclip.io_adapters.for(model.attachment).read ``` I tried this piece of code yesterday but didn't work and only gave me nil. The cause is I write that...Agung Setiawan replied • Solved
Is it Ok to use "Error" as a model name in Rails project?
Alex, I think you are safe using `Error` has a class/model name as it doesn't collide with stdlib in Ruby or Rails. In fact I have a similar model in one of my older apps and it never caused is...shakycode replied • Solved
Creating nested attribute with two parent attribute.
Managed to solve it after much tinkering. If anyone has the same problem, I called a before_validation to associate the message with the project in **user.rb**. ``` private def set_project...Ariff Munshi replied • Solved
Multi tenant best strategy
Wow Aniket, Thanks you so much for the offer. I get the idea, the account / tenant owner are going to be global and then this tenant owner should invite the users to the private section (user mo...Giancarlo Corzo replied • Solved
Caching static pages without CSRF token
Great! I'll keep CSRF token for static pages then. Thanks for your help!Nicolas Brousse replied • Solved
Dynamically create sass variables in rails
Inline styles are not ideal, you could always create a class, and reference it in the `header` in a `style` tag. Then inject the colours into that? ``` ``` then maybe set the colour in the...Alan Reid replied • Solved
After adding the activeadmin gem, my previous style changed, How can avoid this?
yes, solved! Thank you ! After I manually require scss files, no longer use `require_tree` it works fine. ``` *= require_self * require_tree . // not used * *= require addresses.scss ...Larry Qu replied • Solved
How to setup the model associations for a simple e-marketplace?
Cross posting this from Slack: I think your setup looks alright. Any books where the `bought_by` is nil means it’s not been sold. When you do checkout you can charge the user and then assign the...Chris Oliver replied • Solved
How do I create two buttons that generate CSV files with different attributes?
I appreciate the response guys. Yes, I would like each row to have an S auto populated. I'm very new at programming so just bare with me. Would I need to create two def methods with each params...Steve replied • Solved