Best way to render a page as a PDF
I have tried several methods including PRAWN to generate PDF's. It seem there must be a better way. What is you recommendation?Damon Delcoro posted
Displaying an address from a selected location
I'm stumbling over the grouped_options_for_select here. Could you give me a hand in translating this into a regular select? I'm having a dumb blonde moment. `` I also tried a regular selec...shakycode replied
Is Devise always a good choice?
I jumped on this thread late, but I would highly recommend Devise. As Chris said, it's well tested, very mature, and feature rich. As well if you really want to lock things down you can use the D...shakycode replied • Solved
Dynamic view based on associations
I'd say probably using a jQuery AJAX request. If you use a dropdown, set the value to the region's friendly ID and then write a jQuery callback to listen to the dropdown's change event. Somethin...Chris Oliver replied
Suggestions for messaging
I've done some research on Pusher but I'm doing my best to keep the 3rd-party API dependencies to a minimum. Although pusher does an excellent job with realtime messaging and events. Then there's...shakycode replied
Will do. I'm sure we can come up with something great.shakycode replied
Importing datasets. Recommendations?
Oooh Evil Cognos... lol. I'm having to deal with data translation and import so the way I did it was to write a simple rake task using the `CSV` class that imports my data into the appropriate m...shakycode replied
How to create a dynamic form for Contest/Giveaway app
I will use your gem Juin Jiang, it's exactly what i needFernando Contreras replied
Dynamic Active Record Associations?
Yeah, you could just create one to remove the table. It'll keep things cleaner.Chris Oliver replied
Hosting static images in subdirectories of Public on nginx
I had a similar problem in the past with www-data and permissions on static assets out of the app's public folder. I did what Chris did and changed my Nginx user to deploy to alleviate the issue. ...shakycode replied
Build REST API with Devise
I think you can just simply make a POST to the same url as the sign up form normally which is `/users`. Same with PUT and DELETE but for logging in and out, you want to POST and DELETE to `/session...Chris Oliver replied
Radio buttons as actual buttons
Yes definitely would if you're using something that doesn't have it built-in.Chris Oliver replied
Markdown/Emoji : how to host images?
Hi @chris, I'm having hard time figuring out how to host the folder in my app. should I install the npm package from here https://github.com/HenrikJoreteg/emoji-images in my app?!Muhammad replied
Updating Rails Applications across Rails versions?
Sorry to bump an old post. But I wanted to chime in on my experience with the upgrade process. I recently upgraded a Rails app from 3.2.21 -> 4.0 The biggest issues I ran into were my model...shakycode replied
Devise with additional user fields, nested models / attributes and custom routes
Oh nice. I rarely tend to customize Devise routes so it has been a while since the last time I did it. Glad the gist you found worked!Chris Oliver replied
What's the rationale for making some videos "Pro Episode"?
The main difference is usually the Free episodes are basic or common things people need to do and Pro episodes are more advanced or deeper looks into those things.Chris Oliver replied
Suggestion: links open in a new tab
Great idea. I need to go update my markdown parser to add `target: :blank` into the links soon. I'll add that to my todo list. :)Chris Oliver replied
Advanced routing setup
For nested queries like that, I think you can use `benefits.id` as the field. This might be of some help: http://www.elastic.co/guide/en/elasticsearch/reference/1.4/mapping-nested-type.htmlChris Oliver replied
Other intermediate-advanced ruby/rails websites?
I've been playing with exercism and it's pretty cool, but I'm really digging codewars to practice up on Ruby. Great share!shakycode replied