Displaying 20 results from an estimated 1000 matches similar to: "Ajax Tabbed Browsing"
2006 Feb 03
5
Limiting the columns loaded from a legacy db
I''m setting up a new Rails project that is a nice front end for a
company''s personnel database with a legacy schema.
Unfortunately, the table that contains all the standard information
(first name, last name, email address) has some 20+ columns, one of
which is a BLOB of a picture of the person.
Loading all this takes a while, when the application really only
needs the
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
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
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 18
6
RJS - Insert at top of table?
Quick question regarding RJS and inserting to the top of a table. Here''s
the view I''m working with:
<table id="links-list">
<tr>
<th>Display title</th>
<th>URL</th>
<th>Description</th>
<th>Category</th>
</tr>
<% for link in @links %>
<tr id="link-<%= h link.id
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
--
2013 Feb 09
2
v3.8-rc6: btrfs-transacti Tainted: GF in btrfs_orphan_commit_root
Running an Ubuntu Raring VM which was built a week ago that is now
running 3.8-rc6, I was booting it last night when it hung. After a few
forced reboots, it came back up and I found the attached in kern.log.
Mostly, the VM has been used for testing anisble deployment, so not a
lot of work, just upgrading and installing software, then rebooting.
Are these reports useful? Is there any
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
2012 Feb 01
5
Mac markdown editor that saves as .txt
Hi all,
I'm a newer user of markdown & MultiMarkdown, and I'm looking for the
perfect setup of software for my Mac and my Android phone. I'd like to
have my drafts editable from both.
What I want is an attractive Mac app for writing (primarily blog posts and
emails) that saves its files as .txt . Most of them save as .md or
.markdown instead, and since there doesn't seem to
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 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 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.
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"
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