search for: mrqzzz

Displaying 9 results from an estimated 9 matches for "mrqzzz".

Did you mean: mrizzo
2006 Jul 10
18
Deleting join association of has_many :through
I''m trying to use has_many :through, since my join model deserves being more than just an intersection table. But when I try to break the association, the break only seems "temporary": Let''s say my two tables are Users and Colors, and the join model is Favorites. user = Users.find(1) user.colors.length >> 2 c = user.colors.first >> #<Color:....>
2006 Jul 21
15
RoRED a free Ruby on Rails editor for Windows
Hi. On http://www.plasmacode.com you can download RoRED, a free IDE for Ruby on Rails apps, only for Windows. It has some interesting features like tab-grouping of related MVC files, code navigation into methods (ctrl+click), and more. Best regards, Marcus. http://www.plasmacode.com -- Posted via http://www.ruby-forum.com/.
2006 Jun 09
12
Securing database from your provider?
Hi. If i had a RoR application dealing with very reserved personal informations about my customers, if my hosting provider would like to, i guess it would be easy for him to steal the data by simply peeking the username and password inside the database.yml file. Is there a way to hide the database password from indiscrete eyes ? Thanks, Marcus Ob. -- Posted via http://www.ruby-forum.com/.
2006 Feb 18
2
Sharing a Hashtable between all sessions?
Is it possible with RoR? In my case this shared Hashtable is a language translation table for several hundred terms, and does not need to be updated. I would like it to be shared in order to avoid loading it once for each session. Thanks, Marcus O. -- Posted via http://www.ruby-forum.com/.
2006 Mar 21
4
Kaybord problem with "@" and "[" and "]" in console..
I am using RoR on Win XP: ruby v. 1.8.4 gem v. 0.8.11 rails (1.0.0.3855, 1.0.0) when running "script\breakpointer" or "script\console" from a normal dos prompt window everything is working well, except i am unable to type the characters "@","[","]", and some others: they simply don''t appear when pressed. Not even copy/pasting those
2006 Jul 24
0
Rails doesn''t like .rb source files saved in unicode ?
I think i understand that Rails (Ruby perhaps) does not like .rb source files written in unicode... it says it finds uknown characters. Can this ability be set in some way? F.ex, how do chinese developers code in rails? Just ANSI? I would like to add unicode support in an editor i am developing, but if RoR doesn''t like unicode in source files, then i guess it won''t be useful
2006 Feb 10
0
Solution for multilanguage caption lookup speed improvement?
Hello. In my Rails app i have a helper method called "translate": def translate(name) tran = Translation.find_by_name(name) ... ... end As you can see, the method does a lookup in the table "Translation", where i have an index in the field "name". This is working well, but in a single page i can have dozens of captions to translate, and there are several
2006 Jan 01
3
Single Table inheitance doesn''t show subclasses ?
Hi, I am a Rails noob. Suppose you have: --- class Animal < ActiveRecord::Base end class Mammal < Animal end class Cow < Mammal end --- I provide Animal,Mammal and Cow controllers with the scaffolding, just to test and to fill up the Animal table. I can see the "type" column getting it''s value set with the class name. So far, soo good. Now, since listing Animals
2006 Jul 24
5
Actionmailer sending many emails in same SMTP connection?
Hi, I need to implement a mailing list system, Actionmailer is great, but i haven''t found out a way to send many (hundreds of) emails without having to reconnect to the SMTP server for each mail when calling Mymailer::deliver_my_mail(recipient) Any tips? (Possibly without calling directly Net::SMTP, so i can take advantage of the rhtml rendering of the body) Thanks, Best regards,