Recent Posts by Mike Clark
|
Nov 18, 2008
Mike Clark
35 posts
|
Topic: Writing Your First iPhone Application / Usage permissions on sample code? Hi Daniel, The source code is available at: http://pragprog.com/screencasts/v-bdiphone/source_code There’s a link to that URL on the main screencast page: http://pragprog.com/screencasts/v-bdiphone You raise a good point: We should have a download link on the page where you download your screencasts, too. I’ll try to make that happen soon. Thanks! Mike |
|
Oct 10, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / Recipe 43 - register_status issues Andrew, Is it possible that your class isn’t subclassing BackgrounDRb::MetaWorker? That’s where the register_status method comes from. I just checked the latest version of BackgrounDrb and it appears that register_status is still supported. Mike |
|
Jul 7, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / DRY forms - "path" error Hi Dominic, The vouchers_path method comes from the RESTful routing conventions. You’ll need to make sure you have the following line in your config/routes.rb file:
Hope that helps. Mike |
|
Jul 7, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / Recipe 43 Bug? Hi Dary, Thanks! I don’t recall testing it without the set_no_auto_load set to true. I’ve filed an errata. Mike |
|
Jul 7, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / Recipe #4: Toggle Attributes with Ajax Hi Sander, Have you tried the example application in the source code bundle that’s available from the book’s title page? I know that one worked when the book was published. You might want to see how your application differs from the example. Mike |
|
Jul 7, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / 72 recipies or 84 ... Im so confused :-( Hi Stefan, Sorry for the confusion. It looks like the German Amazon site just hasn’t updated the subtitle. The printed book contains 84 recipes, so wherever you get it, you’ll have the full set. Mike |
|
Jun 18, 2008
Mike Clark
35 posts
|
Topic: The Ruby Object Model and Metaprogramming / Quicktime? Why, oh why... John: This series is now available in Theora Ogg format, as well. It’s experimental pending some feedback from Linux users, so please let me know if you have any issues with the format. Cheers, Mike |
|
Jun 9, 2008
Mike Clark
35 posts
|
Topic: Creating a Compelling User Interface with Core Animation / Welcome David: Thanks for letting us know about this. I’ve remastered the sample video at a higher frame rate and using H.264 to decrease the file size significantly. Please let me know if you notice any other frame rate problems. Thanks again! Mike |
|
May 28, 2008
Mike Clark
35 posts
|
Topic: Erlang in Practice / Welcome To Erlang By Example Mark: Thanks for bringing this to our attention. We’ve fixed the file names so that they consistently end in .zip. |
|
Apr 11, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / Advanced Rails Recipes Rocks! Thanks a bunch, Tom! I can’t tell you how humbling that is to hear. I’m very glad that the book’s been helpful for you. |
|
Mar 28, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / Is it too late to submit a Recipe? Hi James - Thanks for your interest. Unfortunately, the book is already in production. You might want to write it up in a blog, though. :-) Mike |
|
Mar 27, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / problems with Encrypt Sensitive Data and rails 2.0.2? Errno::ENOENT: No such file or directory - /Users/jane/Development/actsassecure/config/crypto.yml I’ve added crypto.yml to the recipe to avoid future confusion. Thanks! Mike |
|
Mar 21, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / problems with Encrypt Sensitive Data and rails 2.0.2? Errno::ENOENT: No such file or directory - /Users/jane/Development/actsassecure/config/crypto.yml Charles - Does your crypto.yml file look like this?
That’s the format the MasterCryptoProvider class in the book assumes. If your file is in that format, then I’d need to see your master_crypo_provider.rb file to see what’s on line 13. Mike |
|
Mar 6, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / Should Recipe and Postgres Ah! You’ll need the events.yml and registrations.yml test fixture files. I’ll update the recipe. You can grab those files from the code bundle. Thanks! |
|
Mar 6, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / Should Recipe and Postgres That looks fine. The error seems to indicate that the test/unit library can’t be found. Can you run regular units, without using Shoulda at all? |
|
Mar 5, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / Should Recipe and Postgres Hi Michael - What does your event_test.rb file look like? Mike |
|
Mar 3, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / Starling Yeah, I don’t see why that wouldn’t work well. |
|
Mar 3, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / recipe 33 "Process Recurring Credit Card Payments" vs. PCI DSS Using ActiveMerchant doesn’t mean you’re automatically PCI DSS compliant. ActiveMerchant by itself doesn’t do anything that would make you not compliant. However, being PCI DSS compliant is a lot more than just the code. It stipulates things like access control, monitoring the server room, auditing, documentation, etc. |
|
Feb 29, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / Sessions won't persist after setting session_domain Morten kindly tested out a few changes to the recipe, and it seems to be working much better now. A revised version of this recipe will appear in the next beta release. In the meantime, to get this to work with cookie-based sessions and AR sessions in Rails 2, use:
|
|
Feb 27, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / recipe 33 "Process Recurring Credit Card Payments" vs. PCI DSS Good question, and I’ll ask the author so we can clarify it in the next revisions. Feel free to file any more errata on the errata page. Thanks! |
|
Feb 27, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / Sessions won't persist after setting session_domain Thanks for the update. I’ll add a note. Can you clarify what you tried that did not work? |
|
Feb 27, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / Starling Already in the works for the final revision. :-) |
|
Feb 27, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / Process Recurring Credit Cards? This recipe is in the beta, but I’ll change the title to drop the “Recurring” word. By saving the credit card information, it’s easy to re-bill the customer. But you’re right, “recurring” isn’t the right word. |
|
Feb 26, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / Sessions won't persist after setting session_domain Just wanted you to know that I’m looking into this and will get back to you. It was last tested on Rails 2.0.x, but not on edge Rails. Nevertheless, we certainly don’t want a recipe that doesn’t work. :-) |
|
Feb 21, 2008
Mike Clark
35 posts
|
Topic: Advanced Rails Recipes / Profiling in the browser doesn't work with Rails 2 Patrick: This works for me and looking at the Rails 2.0.2 source, I see the process method: actionpack-2.0.2/lib/action_controller/base.rb:387: def process(request, response) #:nodoc: Can you confirm that it works for you in Rails 2.0.2? Thanks! Mike |
35 posts
