Karmen Blake
Agile Developer and Instructor
Categories
- Courses (15)
Archives
- June 2008 (2)
- May 2008 (10)
- April 2008 (16)
- March 2008 (8)
- February 2008 (10)
- January 2008 (14)
- December 2007 (4)
- November 2007 (7)
- October 2007 (25)
Tags
- 206 (10)
- 234 (7)
- 282 (10)
- 283 (29)
- 284 (29)
- agile (1)
- announcements (10)
- articles (2)
- assignments (10)
- contest (1)
- employment (1)
- humor (5)
- linux (5)
- location (1)
- microsoft (1)
- office (1)
- preregistration (1)
- rails (4)
- ruby (14)
- scc (2)
- scripting (4)
- syllabi (3)
- syllabus (1)
- tips (1)
- unix (2)
- video (1)
- videos (7)
- web (2)
- windows (3)
Welcome!
You'll find my course content and collaborative discussion about technology.
I teach as an adjunct faculty in the Computer Information Systems department at Spokane Community College
Presentations/Interviews
RubyLearning.com interviewCourse Technology - Ruby on Rails Presentation
Editing data lecture
April 21st, 2008 |
Concepts- Update attributes (Chapter 6)
- Partials (Chapter 10)
- More RESTful routes (Chapter 4)
11 Responses to “Editing data lecture”
Sorry, comments are closed for this article.
April 21st, 2008 at 08:35 PM This is awesome. You've got us RESTing on DRY CRUD.
April 21st, 2008 at 09:38 PM Warren, No wonder 'outsiders' think us geeks are weird. ;)
April 22nd, 2008 at 05:52 PM Karmen, Have you used Ruby 1.9 yet. It looks like a lot is changing no more array.each :(
April 23rd, 2008 at 10:21 PM Karmen - THANK YOU for this one! Last night I was hitting a very large wall and did not realize this was here until tonight. It cleared up a bunch for me.
April 24th, 2008 at 09:18 AM Sara, Great! I glad it helped.
April 24th, 2008 at 10:10 PM Karmen - I have the delete working on my site, but am not sure how to incorporate the javascript message. I have tried the code that is on page 382 in our book, but all I get is the confirmation message and no action. It uses a "do_delete()". Is that how it calls the method from the controller? As you know, I have no background in javascript.
April 25th, 2008 at 10:39 AM Sara, research how to do a javascript "confirm" in Rails. Javascript is client side so the confirm itself does not access an action.
April 25th, 2008 at 06:24 PM Karmen, thanks for the tip. Got it working.
April 26th, 2008 at 03:38 PM I seem to be having the same problem Sara was having but haven't had luck researching "javascript confirm in rails". I keep having the same issues; am able to delete with not confirm msg or can get the confirm message to display but then either get an error or no deletion happens.
April 26th, 2008 at 06:21 PM Erica - The website I found to be helpful is as follows (go to the "Link_to" section and look at the examples: http://api.rubyonrails.org/classes/ActionView/Helpers/UrlHelper.html#M000913
April 27th, 2008 at 01:37 PM Sara, Thank you! That was a great help. :)