search for: reevesg

Displaying 7 results from an estimated 7 matches for "reevesg".

Did you mean: reeves
2006 Jan 07
8
exposing id''d
I have been working on a small app that started with some scaffolding. Some of my actions still have the structure where the id''s of things are passed on the url for gets. Whats the best way to avoid the security problems that this creates? I am sure that there are many pages written on this topic but I guess I have been searching for the wrong things. Thanks Gareth -- Posted via
2006 Jan 04
7
variables in layouts
I have a layout that provides the basic outline of each page in my app. It has a title, footer and a navigation bar. In the title I want to put the name of the current user that is logged in. I could do something like @session[:username] but I would rather encapsulate that into a single variable so that I can change the key in the session map if I want without having to goto each page that
2006 Mar 16
9
Baffling AJAX issue
Ok, I''ve got some link_to_remote stuff working elsewhere just fine, but this time it''s doing something very screwy. Here''s the view code to create a link to remotely toggle a boolean value on a record: <td class="contact_active"> <%= link_to_remote "<div id=''contact_active_#{cm.id}''><span
2006 Apr 12
1
Back In Time
On a system that I am working on, there are 2 places where you can edit answers to questions. After editing, I need to redirect back to the place where the user came from. A common problem I am sure, but I couldn''t find any info on how other people had handled it. I came up with a method called ''redirect_back_in_time'' that redirects you to a point in history. I
2006 Mar 01
0
rake test_unit from controller
I was just thinking it might be nice to run rake test_units from a controller and put the outputs into the browser. I like the original green or red bar. I figure someone must have done this but a quick search turned up nothing. Any ideas? Gareth -- Posted via http://www.ruby-forum.com/.
2006 Mar 16
1
application_helper.rb vs application.rb
I find that I want to put the same methods into both of these files. Whats the best way to get away with a single implemenation? Gareth -- Posted via http://www.ruby-forum.com/.
2006 Feb 20
0
Ajax and tables
Guys, I want to be able to update the contents of a table without dedrawing the entire thing. Basically, if the user clicks on the 2nd column then i want to turn that cell red, the 3rd green and the 4th blue. I have the table drawing correctly now but not updating correctly. I can''t get the update to work on the div unless its inside the table cell. I was hoping to have the div