thanks for the explanation. Btw - o have done several gitorious installations (based on ruby enterprise and debian1.8) and on all of them there is problem with downloading tgz from projects (archives are generated well - i can see them on syslevel)
the installations run on passanger (but i have try also via builtin mongrel). Gitorious is from mainline. probably i should sent it as separate request... thanks! On Jan 21, 10:40 am, Marius Mårnes Mathiesen <[email protected]> wrote: > On Thu, Jan 21, 2010 at 10:26 AM, kolargol <[email protected]> wrote: > > > Is there some reference manual for console/dbconsole? > > Actually, they are both part of the framework, Rails. > > script/dbconsole is just a wrapper that reads the database name, username, > password etc from the configuration file and launches a SQL console. > > script/console establishes a standard interactive Ruby (irb) console with > the application loaded. This means you can access all classes and objects > available in the application and play with them directly. Us Rails people > use it in situations where the web GUI doesn't expose the functionality > needed to achieve something while still letting the application handle > states and callbacks etc. For instance, deleting an object usually involve > updating/deleting related objects from the database, which would not happen > if you enter raw SQL queries. By using the console, the application behaves > just like it would otherwise, so you don't wind up with bad data in the > system. > > Cheers, > - Marius
-- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
