Recent Posts
|
12 Jun 2008, 04:20
Trevor Turk (4 posts) |
Just a note: it would be “gem install sqlite3-ruby” if you haven’t installed it before. |
|
12 Jun 2008, 02:41
Lawrence E. Lewis (9 posts) |
(from Building a Dynamic Website with ExpressionEngine > request episode on user management/subscriptions)
Hi - I am building a website that requires some things I’m pretty sure many others need: user management and subscriptions. That is, I have an initial page/pages that are completely free and don’t even require registration. I have 3 other sets of pages: one set that is free but requires registration, and two levels of paid subscriptions. Only the highest level allows access to all non-administrative pages. There appear to be lots of possible ways to do this, but, I obviously would like the most efficient (read: minimum work for me). I have been reading that as of EE 1.6 this type of thing is not EE’s strong suit, and have seen recommendations for Solspace’s User modules, aMember, and/or CoolCommerce. An episode or two covering these things would really be great! Larry Lewis |
|
12 Jun 2008, 02:37
David Schwartz (26 posts) |
Sorry for being so dense but I presume that I make up the user and passwd. Where do I get the host? David |
|
12 Jun 2008, 01:43
Kevin Rodgers (7 posts) |
The v-riexp-v-05-code archive does not have the template-static.html file used in the screencast. |
|
12 Jun 2008, 00:59
Sam Ruby (567 posts) |
Appendix a2 covers this briefly, but if you are familiar with C/C++, there are no variable declarations in Ruby. Instead there are a few conventions. Variable names that start with a capital letter are |
|
11 Jun 2008, 23:21
Dave Thomas (233 posts) |
We had a temporary problem earlier this afternoon, but I just checked and http://media.pragprog.com/screencasts/v-dtrubyo… seems to be working ok now. Dave |
|
11 Jun 2008, 20:24
Kurt Wiedenhoeft (1 post) |
(from Advanced Rails Recipes > Multi-model forms)
I am also enjoying this book. I have had good luck with this recipe, but I’m running into a problem when I try to add a date or date/time select box to the “tasks” section. I have the code working great, but as soon as I add this to my partial, it breaks: <%= task_form.date_select :pickup_at %> When I add a new task and submit the form, I get a 500 error, and the following message in the log: “Conflicting types for parameter containers. Expected an instance of Array but found an instance of Hash. This can be caused by colliding Array and Hash parameters like qs[]=value&qs[key]=value.” If I manually add the related record to the table, it will render the date select properly and I can submit changes without error. However, any new tasks I add will cause the submit to fail. This looks very much like the problem mentioned here: http://dev.rubyonrails.org/ticket/10551 I applied the patch supplied, but it didn’t make a difference. Has anyone else run into this, and maybe found a solution? Thanks, Kurt |
|
11 Jun 2008, 20:22
James Rundquist (3 posts) |
I am compiling the examples on a Ubuntu machine (8.04) and every time i Interface with my webcam the image is captured correctly and the texture is created and displayed, yet no markers are ever found. When I create a pgm from my webcam and run the software using camera_image_single_frame.c it all works fine. I cannot seem to find the problem with my live images. It seems they are not being processed correctly. I initialized artags with init_artag(cam_width,cam_height,3) and i am processing it with artag_find_objects(cam_image,1). If anyone has any ideas what is going wrong please enlighten me. |
|
11 Jun 2008, 18:55
Marcus Brito (6 posts) |
This was the best screencast I’ve ever seen. I was one of the many out there that just reaped the benefits of metaprogramming in Ruby without really understanding it, and completely incapable of doing it myself. I’d like to give my heartfelt thanks to Dave for tackling such an interesting yet poorly discussed subject. The overall structure of the screencast is great—I’ve never seen metaprogramming explained in such a clear and easy to understand way. Now I’m eagerly awaiting for the next episode! |
|
11 Jun 2008, 17:17
Jean-Michel Esnault (1 post) |
The requested URL /screencasts/v-dtrubyom/code/v-dtrubyom-v-01-code.tgz was not found on this server. |
