similar to: Limiting the columns loaded from a legacy db

Displaying 20 results from an estimated 7000 matches similar to: "Limiting the columns loaded from a legacy db"

2003 Dec 17
2
Assert in Fedora dovecot-0.99.10.4-1
Hello, I'm seeing this in my dovecot log file: imap(blair): Dec 16 13:53:06 Panic: file istream.c: line 93 (i_stream_set_read_limit): assertion failed: (stream->v_size == 0 || v_offset <= stream->v_size) I get this consistently when I search for the string "unknown C primitive" across 10 mailboxes using the Windows Netscape 4.80 client. If there's any more
2005 Aug 31
4
Oddities with Debian unstable dovecot
Hello, I'm running an Debian etch box with unstable and ever since the last upgrade to dovecot, I've seen odd things. At times, I would see emails would go missing from the Inbox or other folders, and I couldn't move emails that were moved from the Inbox to another folder back into the Inbox. These have seen gone away since I removed all dovecot.* files and .index* files from my
2005 Dec 29
3
Why do plugins use class_eval?
I''m writing my own plugin and all the plugins I''ve seen use class_eval in the method that is called in the including module. For example: http://wiki.rubyonrails.com/rails/pages/HowToWriteAnActsAsFoxPlugin module Foo module Acts #:nodoc: module Fox #:nodoc: def self.included(base) base.extend(ClassMethods) end # declare the class level
2006 Jun 23
2
WEBrick hangs with OCI8?
Has anyone experienced "hangs" with the WEBrick/OCI8 combination? The sequence of actions I perform to consistently get WEBrick to hang is: 1. start WEBrick 2. list a table form my Oracle 10g DB 3. startup sqlplus and update a few records in the table 4. go back to my browser and reload the table Here none of the chances I made directly to the table are reflected in the listing.
2006 Jun 09
2
Timzones, UTC, and to_xml()
Does anyone know a good way to hook into the AR to_xml() method to allow for adjusting datetimes to a user''s timezone? Basically I want a user to be able dump all their data before cancelling an account. I store all datetime info as UTC as per the recommendations of Jamis Buck and Scott Barron in the Rails Recipe article "Dealing with Timezones". Come to think of it I bet
2006 Jun 19
6
to_xml depth ...
hello, The "render :xml => myFriends.to_xml", return something like: <people> <person> <id type="integer">2</id> ... <person> But a Person has a "has_many" relationship and they are not in the xml, => so is it possible to change the depth of the marshall process ? if it not possible, what are the "rails
2006 Jul 12
11
ruby-debug 0.1.3
Hello Everyone, I''m pleasant to announce the release of ruby-debug 0.1.3. If you think that ruby-breakpoint is too limited for your needs and debug.rb brings your application to its knees, you might find this small extension useful. INSTALL It''s a usual procedure: $ gem install ruby-debug DOCS This library has almost identical interface with the standard debug.rblibrary.
2006 Jun 29
13
Ideal Ruby on Rails Development Environment on Linux
Hello, I''m not a developer myself, but I work for a hosting company that tries to cater to the needs of developers and basically right now I am trying to create a hosting platform that will be perfect for ruby developers. This is a linux VPS service and I create the base templates to make the system look however i want it after install. I was hoping some of you could give me
2006 Feb 15
36
Rubuntu Live CD for Rails
Friends- I am almost finished with a custom live cd called Rubuntu ;-) This is an ubuntu live cd variant that comes preloaded with ruby and rails developers in mind. I already have it working with all the basics but I was wondering what extras people would like to see on this distro. What editors with what configurations? What other tools do people really like for rails development on a
2006 Jul 27
2
Creating multiple objects from form data
I''m in the process of creating a sign up form for an online application. The form collects account info, company info, and then info for an administrative user. The method looks like this: def create @account = Account.create!(params[:account]) @company = @account.companies.create!(params[:company]) @user = @company.users.create!(params[:user]) end However, this inevitably fails
2006 Jan 26
21
pagination_links help
I want append custom query parameters to my pagination links, like ?page=1&foo=bar. I can''t quite figure out how to do this with the pagination_links helper, although I believe the API says you should be able to: pagination_links(paginator, options={}, html_options={}) options are: :params: any additional routing parameters for page URLs Has anyone tried this? thanks, jeff --
2006 Feb 02
1
Inserting svn revision into site
Hi, Say I wanted to know what svn revision a given site was using, simply from looking at the site. How could I embed that information into the page (into maybe a html comment or in the page footer)? A switchtower task? Joe
2006 Mar 30
11
Rails 1.1 and Ruby 1.8.3
I''ve seen that Rails 1.1 is not reliable with Ruby 1.8.2 so you should upgrade to 1.8.4 I''m running ruby 1.8.3. What''s the story with it? Do I need to upgrade before I try Rails 1.1? Thanks Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century
2006 Jun 22
2
acts_as_taggable smakdown
Okay, so I just realized there seems to be two acts_as_taggable modules, the gem and the plugin 1. which came first? 2. what''s the difference? (internals, not ones a gem and ones a plugin) 3. which one is better? ;-) -- Craig Beck http://www.luckybonza.com AIM: kreiggers
2006 Mar 03
1
Emerging Tech: Who''s going?
Ryan McMinn as well as myself from Unspace Interactive are going to ETech next week. We know fellow Torontonian David Crow will be there with bells on. And clearly DHH is coming to do his workshop. Who else is coming, and is there any interest in trying to do a Rails BOF during the main conference? Obviously a lot of folks are going to do the workshop, but most people don''t arrive
2006 Feb 24
1
Returning a "select count()" in ActiveRecord
I am trying to find the count of rows on a table. If I do a result= Table.find_by_sql ("select count(distinct id) ...... It returns an array of Table with Hashes of "select count(distinct id)" making accessing it a pain result[0][''select count(distinct id)''] It seems easier to return all the rows and do a .length on the result Array.
2004 Feb 04
2
Newbie question: How to make dovecot read /var/mail/user while using Maildir
Hi I've been trying to figure out how to make dovecot read the system standard /var/mail/user, which is in mbox-format, while at the same time using Maildir as the preferred method of storage. When in Maildir-mode, I can store mail on the server without a hitch, but I don't receive mails. When in mbox-format, I can read and write, but the risk of corrupting mails is to high for me to
2006 Feb 03
6
Postgres question
What are the practical differences between using postgres and postgres-pr to connect rails to a postgres database? I realize the -pr version is pure ruby, while the other is a set of c bindings, but, does that result in performance, reliability, or feature differences? Any information appreciated. Colin Freas -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 22
3
OT: svn installation tutorial
Hello friendly Rails community, I''m sorry for this OT post, I''ve just switched to Mac and as I see there are so many friendly mac users here, may I ask is there another good/nice Subversion installation tutorial instead of this one: http://developer.apple.com/tools/subversionxcode.html? Is there another way to install it without compiling Subversion by myself? For example via
2005 Dec 21
3
Best Practices???
Has anyone come up with a list of best practices for App design using Ruby On Rails? John McClain Senior Software Engineer TCS Healthcare jmcclain-RI2jYlfFOOy2dUpmj6OxPQC/G2K4zDHf@public.gmane.org (530)886-1700x235 "Skepticism is the first step toward truth"