search for: thomasmal

Displaying 4 results from an estimated 4 matches for "thomasmal".

2009 Aug 11
5
Dynamic drop-downs in a form_for using AJAX remote_function - Help
Hello - I am fairly new to Ruby on Rails, but feel like I am learning quick. I have what seems to be a fairly unique issue as I cannot find much out there that describes what I''m seeing. Hopefully it''s a very simple fix, and I simply can''t see the forest through all the trees! I am attempting to create 2 related drop-down lists in the same form_for, both using
2010 Apr 21
4
Accessing the router from a helper
I find manually accessing the router to be quite ugly below. Is there a more direct way to access it? module ApplicationHelper def menu_item text, url = nil routes = ActionController::Routing::Routes url = if url if url.is_a? String url else routes.generate url end else routes.generate :controller
2008 Nov 04
4
Problems with Wine on Debian
Hello all, I am fairly new to Linux, so I hope that the following problem is not just me being ... new to Linux. I have been trying to install Wine on Debian (Etch 4.09 I think it is called). I first tried to use the apt-get install Wine command followed by the winecfg (creating the .wine folder), but when I tried to run the notepad.exe (i.e. with the command wine
2010 Apr 28
1
ActiveResource does not detect errors for my very simple model
The documentation says to return a code 422 with a packet in the following format: <errors type="array"><error>First cannot be empty</error></errors> So that is what I am doing. But my model will not raise an exception on a create call that returns such a response, and a record created that way returns true for its valid? call. I simply do: >>