search for: serenob

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

Did you mean: serenobs
2009 Jun 23
3
Starting ruby script on server's reboot
Hi I''m using passenger + apache. with this combination, how can I start my ruby script on server''s reboot? now I type "ruby myscript.rb run" whenever server reboot.
2009 Apr 25
5
SQLite3::SQLException: unable to open database file
Hi. I was trying to code same as the rails guide : getting started. I could follow steps to 6.3 Working with Posts in the Browser. (setting home page, creating a resource, running a migration) After clicked create button, errors are occured. SQLite3::SQLException: unable to open database file: INSERT INTO "posts" ("name", "created_at", "title",
2009 May 22
2
using console is a proper way in produciton?
Hello. I''ve planned to use script/console to support mainloop for my rails application. I need some infinite loop for doing my logic. For example, I want to give a point every second to users. to do this task I think I simply code like this: loop { GivePoint(); sleep 1 } on script/console and handle taks in the GivePoint method. Can this way work fine on commercial application? In fact,
2009 Apr 28
1
help active record modeling.
Hi. I have difficulties to model active record. So please help my trouble. Let''s suppose there are nations which have castles at least 1, and there are 3 types of castles. So I will make these tables. NationsTable, CastlesTable have common attributes of 3 types of castle. CastlesATable, CastlesBTable, CastlesCTable each have its unique attributes. In this case how can I represent