Deck Builder App. How do I query only decks you can make with the cards in your inventory?
Thanks Francisco! I corrected the typo.

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

3
Rails
What text editor are you using for GoRails Forum?
Thanks Jacob!
Awesome Chris! I will take a look.

5
General
[HATCH] Error deploying app


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

3
Rails
why drop down menu (Account Setting)is not showing in sidebar?
i found the problem here , some css class issue

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

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

4
General
Extend Sprockets to bundle mustache templates
Chris, you can create an episode about this. I'll share more detailed code example if you like :)

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

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

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

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

2
Rails
Caching static pages without CSRF token
Great!
I'll keep CSRF token for static pages then.
Thanks for your help!

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

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

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

4
Rails