[Rails] Setting value of a indexed property of an OLE object

2009-03-03 Thread Seyit Caglar Abbasoglu
I suspect this question is not directly related by Rails but perhaps Ruby users on this list know an answer for this I have an OLE object which has an indexed property on it (something like a dictionary). In C# (or similar languages) I set the value of one of the elements in the indexed property

[Rails] random DBI::DatabaseError while querying SqlServer

2009-02-27 Thread Seyit Caglar Abbasoglu
*First some background:* Application is running on a windows XP I'm currently using Ruby version 1.8.6-26 with easy installer (I couldn't manage to manually install 1.8.7) Rails version is 2.2.2 activerecord version 2.2.2, 1.15.6 activerecord-sqlserver-adapter is version 1.0.0.9250 ADO.rb version

[Rails] activerecord-odbc-adapter 2.0 failed to allocate memory

2009-02-27 Thread Seyit Caglar Abbasoglu
I'm currently trying to connect rails to a legacy SqlServer database. System is windows XP and my attempts to connect with activerecord sql adapter and ADO.rb file failed miserably (I wrote a mail about it before) So it seems like odbc adapter is more recent compared to sql adapter and probably

[Rails] Re: Local path to public directory

2008-10-16 Thread Seyit Caglar Abbasoglu
yep great, How I could not find such a simple answer :) Thx alot mate. 2008/10/16 Ar Chron [EMAIL PROTECTED] Does: RAILS_ROOT+'/public' solve your problem? -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message

[Rails] Local path to public directory

2008-10-16 Thread Seyit Caglar Abbasoglu
I was searching web for sometime but I couldn't find the answer. Is there a way to get the local path for public folder of a rails application. Lets say my applications name is 'depot'. I want the path to its public folder regardless of where I put the application in the harddisk. For example

[Rails] Re: refactoring support

2008-10-06 Thread Seyit Caglar Abbasoglu
, admin, login:action, new:action etc.. I'm too new to Rails (even Ruby) to create such things. And I can't even imagine if it's possible 2008/10/4 Phlip [EMAIL PROTECTED] Seyit Caglar Abbasoglu wrote: I'm pretty new to RoR but I like it very much. My problem I haven't find any refactoring

[Rails] refactoring support

2008-10-04 Thread Seyit Caglar Abbasoglu
Hi, I'm pretty new to RoR but I like it very much. My problem I haven't find any refactoring support (for example renaming a controller, or extracting one). Are there any plugins/tools for such a job? Or are there any work on that issue. IMO for agile development ease in change would be pretty