search for: generate_cod

Displaying 2 results from an estimated 2 matches for "generate_cod".

Did you mean: generate_code
2007 Aug 25
5
How do I assign default values to model attribute
I have a model with a attribute named "code". Every time i create an instance I want the "code" to be initialized by making a call to "generate_code" method. How do i initialize model attributes in rails ?? thanks for help. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To pos...
2006 Jun 09
8
[how can i delete a file system..please help]
Hi, I''m trying to delete a file system (<xml_26548975.xml>) File.delete("xml_26548975.xml") But I get this error: "Permission denied - ./script/../config/../uploads/xml_26548975.xml". Why? -- Cheers, ioana k&a http://boulangerie.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: