search for: mattgriffith

Displaying 11 results from an estimated 11 matches for "mattgriffith".

2006 Jul 06
6
Help with overriding / overwriting date values in ActiveRecord to accept Euro Style Date from a Textbox
Hi guys, I''m trying to make an AR model which accepts a string data (from a text input) in euro date format eg <input .... value = "23/01/2006"> ( 23 Jan 2006) Reading the example from RDoc... i tried to overwrite/overload/override the = function to write in the date.. Cant get it to work because .. i dont knoe what format should it accept.. i''ve tried
2006 Jul 12
9
Instant Rails Screencast
I created a screencast showing how you can use Instant Rails to get a fully functional Rails environment running on Windows in under 5 minutes. Get started with Ruby on Rails in less than 5 minutes http://mattgriffith.net/PermaLink.aspx?guid=97aa05b7-2e38-4c7d-b184-45ab2e2715b9 Right now the video is only available in Windows Media. Eventually there will be a flash version available too. Matt Griffith http://mattgriffith.net -- Posted via http://www.ruby-forum.com/.
2006 Jul 13
10
Book Question on RoR
Hi there, I am a newbie and interested in learning Ruby on Rails. I see there are 2 books out there: Ruby for Rails Ruby techniques for Rails developers David A. Black and Agile Web Development with Rails : A Pragmatic Guide (Pragmatic Programmers) Dave Thomas, David Heinemeier Hansson, Andreas Schwarz, and Thomas Fuchs Which one should I get? "Agile Web Development with Rails"
2006 Jul 13
0
Installing SQLite 3 on Windows Screencast
I created a screencast showing how to install and test SQLite 3 for Ruby on Rails on Windows. HOWTO: Installing SQLite 3 on Windows for use in Ruby on Rails http://mattgriffith.net/PermaLink.aspx?guid=9ac5939e-7ef9-492b-935b-41c3cef44067 Matt Griffith http://mattgriffith.net -- Posted via http://www.ruby-forum.com/.
2006 Jul 13
2
find_by_id(nil) does not always return nil
...e first time you call it with nil. The second time you call User.find_by_id(nil) it returns nil. I know this is how it works running against Edge Revision 4599. But I think I was seeing the same behavior against Rails 1.1.2 Is this expected? Is this a known issue? Thanks, Matt Griffith http://mattgriffith.net -- Posted via http://www.ruby-forum.com/.
2006 Jul 12
6
So what is REST? I don''t get how it fits in Rails
Does someone have an actual example of this? I saw DHH''s slides where he said that you could have your app automatically respond with HTML, XML, atom, whatever. So far I''ve found tons of discussion on REST and CRUD in Rails, but I haven''t seen anything that actually shows me what it all is. There''s simply_restful, which apparently makes things easier...I
2006 Jul 13
2
EmacsRails cheat sheet
Hi I''ve compiled a small cheat sheet for Emacs-Rails. It can be found here: http://os.ologix.com/emacs-rails-cheat.pdf -- Ola Bini (http://ola-bini.blogspot.com) JvYAML, RbYAML, JRuby and Jatha contributor System Developer, Karolinska Institutet (http://www.ki.se) OLogix Consulting (http://www.ologix.com) "Yields falsehood when quined" yields falsehood when quined.
2006 Jul 13
6
creating meaningful urls, (changing default)
Hi, Urls in ruby are as defualt set to :controller/:action/:id How can I change it to somthing like this :controller/:action/:id/#random title# #random title# may be a variable or taken from a field in the database thanks scott -- Posted via http://www.ruby-forum.com/.
2006 Jul 20
2
ROR dev on Different Ruby versions
Hi, First I would like to ask if someone could give me the direct link to the mailing list this forum mirrors. This is so I can do searches directly and not bother folks with repeat questions. Now my question: I recently installed a ROR app built on Ruby 1.8.2 and moved it to ROR on Ruby 1.8.4. I got a few errors and had to regenerate my app in the later and copy the App files and a few
2006 Jul 12
5
DRY version of RoR book PAYMENT_TYPES example
In the book there is an example how to convert DB payment value to more readable from. PAYMENT_TYPES array is defined and then in your views you can use it as Order::PAYMENT_TYPES. The problem is: how should I convert DB values (for example with type char(1)) to full string representation. I know that I can add a Hash to a model: IM = {''S'' => ''Skype'',
2006 Jul 19
12
[Slightly OT] POSTing data to a Rails App
Hi, I have a Windows program that collects data and would like to store this data in a database that is usually accessed through Rails. It was recommended that I try to "POST" the data to the Rails application. I''m running into some problems trying to format my POST string for the application. I''m trying to learn by interfacing to the TODO application (Four Days