search for: jackdan

Displaying 15 results from an estimated 15 matches for "jackdan".

2006 Jul 23
4
Newbie question about .rhtml
Hi everyone, coming from PHP something in the .rhtml files has been confusing the heck out of me. Why does this work? <% for header in @all_headers %> <%= header.subject %> <% end %> and both of these don''t work <% for header in @all_headers puts header.subject end %> --------------------------------------- <%= for header in @all_headers puts
2004 Aug 03
1
Little problem with dovecot using mbox format
Hi everyone, this is my first post on this mailing list. I recently installed postfix+dovecot+fetchmail on OpenBSD for my dad's office. (dovecot is setup as an imap server using mbox). Everything worked flawlessly...until now. I don't know why, but now some emails seem to de-double themselves. For exemple, yesterday morning I printed out all the emails. To my surprise 30
2006 Jun 24
32
Why is there no Smalltalk-like IDE for Ruby?
I posted this to comp.lang.ruby and comp.lang.smalltalk, and my blog. I will likely get destroyed, but it will be worth it if at least one nugget of information helps the Ruby IDE makers. ----------------------------------------- Hi all -- I shout my question to the entire Ruby + Smalltalk community: Smalltalk has had amazing IDEs for decades, why not Ruby? Smalltalkers, Ruby needs your help!
2006 Jul 09
1
Problems with controller modules
Hi eveyrone, While reading AWDWR I saw that you could group your controllers. I taught this would be practical for grouping all the administrative functionnalities. So I tried the following: ruby script/generate controller Admin::Country ruby script/generate model Country This did not work for me. When requesting localhost:3000/Admin/Countries/ I get:
2006 Jul 21
1
Rails and IMAP
Hi everyone, I am wondering how well does RoR play with IMAP? I am asking because I have a small project to do where I to create an application where you can semi-automatically respond to email (click on a button to send a pre-made answer to that email). So my question is, how nicely does RoR play with IMAP? Is it a hassle and I need a bunch of plug-ins? Or do they play fairly nice? I
2006 Jul 29
0
ActiveRecord question
Hi everyone, I am having the following problem: I have a ''User'' model and a ''User_option'' model (user has_many user_options & user_options belongs_to user). Now the user_option table (and model) consist mostly of a key & value fields, and I would like to be able to reference them like an associative array instead of a collection. Here is what I
2005 May 27
1
Inquiring about status of version 1.x
Hi, I've been running dovecot for awhile (about 18 months now) and I am very happy with it. I am currently planning an upgrade for the office server and I am wondering how is 1.0 going? Is it stable enough for production? I read a thread in the list from may 5th talking about the stability, and it seemed pretty decent. Anyways just looking for a bit of feedback on the evolution of 1.0
2006 Aug 03
0
Stuck saving Dates as string
Hi everyone, I have a form that has a date_select form field. Now for some reasons out of my control I need to save the date generated by date_select to a ''text'' field in mysql 5.0. Now i''ve been reading the ruby API for date and datetime objects...but so far I''m reallly lost. So to sum it up I have to make date(1i), date(2i), date(3i) into a mysql 5.0
2006 Aug 07
0
ROR Architecture question
Hi everyone, I am creating a typical client management app for a small office. The only twist is that I want the ''admin'' to be able to add custom form fields into the client forms. Is there anything out there that will let me create custom fields on the fly? I''d like to see how they did it. Or if anyone has any tips as to how I should design this, please go
2006 Jul 10
3
Are user-made modules supposed to work?
Is there a reason why modularizing your controllers doesn''t work? I tried the following: ruby script/generate scaffold Admin::Bug But it just won''t work. I get a routing error when trying to access /admin/bugs/ : Recognition failed for "/admin/bugs/" P.S. If I create the model/controller individually it still doesn''t seem to work. A bit of help
2006 Jul 28
2
ActiveRecord design question
Hi everyone, I have a small design question. My app has the classical ''User'' table. The problem is that I will probably have a lot of user set options. I did not want to add 20-30 fields to the user table so I created a user_options table: =============================== class User < ActiveRecord::Base has_many :user_options end =============================== class
2006 Aug 19
3
Activerecord validation problems
Hi everyone, I''m having trouble validating a model. The corresponding table has some boolean columns: create_table :permissions do |t| t.column :project_id, :integer, :null => false t.column :group_id, :integer, :null => false t.column :read, :boolean, :null => false, :default => false t.column :write, :boolean, :null => false, :default =>
2006 Jul 02
2
Problems implementing a N:M table that contains actual data
Hi everyone, I''m currently finishing the planning phase of a small project I want to create. I read a bunch of tutorials about ActiveRecord and the different way to link your "tables" with belongs_to, has_many, has_and_belong_..., etc... However I''m stillnot sure if what I''m trying to do will work *well* with ActiveRecord. So enough talk,
2003 Apr 02
2
FreeBSD 5.0 will not boot
Hi everyone, I released turned to FreeBSD simply because I am discouraged with windows and there security scheme (did you guys see the document microsoft wrote about how to stop windows from sending out info about your computer onto the net? it's freaking 250 pages, and that doesn't cover all the xtra exploits that can come in your computer). Anyways, I recently tried 4.8 rc2, and it
2003 Apr 13
5
2 questions...
I know this is a freeBSD mailing list, but I didn't know where else to ask this question. I've recently switch to FreeBSD 4.8 (great OS btw), and I've been so pleasantly surprised that i'm now planning to switch over my dad's firm over to freeBSD. There computers/software are rapidly getting old and obselete, and microsoft's price/security is...well expensive/crap.