search for: difranco

Displaying 18 results from an estimated 18 matches for "difranco".

2005 Sep 06
4
url_for: :overwrite_params went missing
Somewhere between 0.13.1 and the current SVN version the :overwrite_params option to url_for (and related methods) went missing. I can''t tell whether this was deliberate or by mistake, and I have no idea how to get the same functionality in some other way either. Michael -- Michael Schuerig Life is what happens
2005 Sep 11
3
Extending ActiveRecord::Base
Hey everyone, I''m interested in extending ActiveRecord::Base. I have a special "easier" find function that I want to include in all classes. How can I include this in all classes? Can I just create a model object that does something like this: class ExtendedAR < ActiveRecord::Base def self.special_find ... end end and then all my other classes
2005 Aug 04
10
Rails Spin-offs WIKI.
http://rails-spinoffs.bombdiggity.net/index.php?title=Main_Page guys here is the wiki. Once you register let me know and I''ll give you full access to the site. Jon Jon Whitcraft Online Services (317) 492-8623 -------------- next part -------------- An HTML attachment was scrubbed... URL:
2002 Dec 11
0
MS Access XP and Samba Print Queues
...indows queue and watch your default printer disappear in Access if you toggle back and forth between the two as far as default printer settings. Does anyone have any ideas what is going on here? K. -- ?...every tool is a weapon if you look at it right.? (Ani DiFranco)
2005 Aug 16
1
Defining model classes for enumerations
I have several tables for enumerations. They all have the same content: id, name, position. I''d like to avoid the tedious work of defining a class for each one explicitly. Not least, in order to avoid clutter in the model directory. Here''s what I''ve come up with: class EnumRecord < ActiveRecord::Base def self.define_enums(*enums) enums.each do |spec|
2005 Aug 22
1
Docs for prototype.js
...un-official. Sam, if you''re reading this, is there a chance of giving it an official blessing? Michael -- Michael Schuerig Those people who smile a lot mailto:michael@schuerig.de Watch the eyes http://www.schuerig.de/michael/ --Ani DiFranco, Outta Me, Onto You
2005 Jul 30
0
Autocomplete text field -- what''s it for?
...h are otherwise much nicer -- I just don''t see how I can meet my requirement for a PK. Michael -- Michael Schuerig Those who call the shots mailto:michael@schuerig.de Are never in the line of fire http://www.schuerig.de/michael/ --Ani DiFranco, Not So Soft
2005 Sep 13
3
Alternatives to Rico LiveGrid?
I''m no friend of paging, but I have to somehow deal with lists of potentially large numbers of objects. The Rico LiveGrid[*] at first blush seems attractive, but has some major drawbacks. It doesn''t work with Safari/Konqueror, not yet anyway. It can only handle fixed-size tables and requires that widths, including column widths, are hand-crafted. I''m looking for a
2007 Nov 13
3
Mac client
I'm trying to copy files to a Samba share that I have set up on a linux debian machine from a Mac running OS X, using samba 3.0.24. The Mac complains that there is something wrong with the file name, and then refuses to copy, and the operation leaves a zero-byte file with the same name on the samba share. It lets me log in nicely through the Mac File Finder. I've just spent a couple
2005 Dec 30
4
High performance queries - RoR, PHP or something else?
Hi everyone, I''m building an app in RoR that apart from the normal web interface has a web service. This web service takes a parameter and uses that in a single database query, and returns the result in a simple XML format. This web service needs to be quite fast as it will be used on all pages of a quite big site with thousands of visitors every hour. I don''t think caching is
2005 Aug 18
8
Extending a js class
It''s been a few days since I posted my last two emails (of which, no one replied to) so I''ve gone ahead and coded a working slider class as well as a ''resizeable'' class that allows a user to drag and resize the element. I also linked these two together as I want to have slider behavior that can resize the resizeable element. The end result is both the
2005 Aug 22
8
Observing changes to a text field
I''ve noticed that using several TimedObservers (prototype.js) on a page to watch for changes to text fields (haven''t tried forms) can have a non-negligible effect on the CPU cycles used by the browser process. Nothing dramatic, to be sure, but unnecessary. Autocompleter.Base (controls.js) follows a smarter strategy to watch for changes. Currently this functionality is tied
2005 Jul 06
16
Autocompletion not working in Konqueror
...earances it looks as if the listeners attached to the text field aren''t doing anything. Michael -- Michael Schuerig Those who call the shots mailto:michael@schuerig.de Are never in the line of fire http://www.schuerig.de/michael/ --Ani DiFranco, Not So Soft
2005 Aug 28
8
Save and delete buttons: POST vs. proximity dilemma
...ete to the actual delete action. I can''t say that this feels good. Michael -- Michael Schuerig Those people who smile a lot mailto:michael-q5aiKMLteq4b1SvskN2V4Q@public.gmane.org Watch the eyes http://www.schuerig.de/michael/ --Ani DiFranco, Outta Me, Onto You
2005 Sep 22
5
Prototype lib : for-each loops and DontEnum
All I realise that this isn''t strictly the correct place to discuss the prototype lib but being as scriptaculous is dependent on it I thought people might have some opinions. Easier to explain with the example below, copy into a html file and ensure the path to prototype.js is correct. You''ll see the first example prints an extra element "extend" when iterating over
2005 Jun 29
14
Unobtrusive scripting?
Currently, pages generated by Rails tend to be sprinkled with JavaScript. This happens, because the various helper methods work only locally and simply append to the output. In order to hide the JavaScript away, rendering would probably have to be changed. A way I can think of is that a page-specific script is included in the head of the document and JavaScript code is not written to the
2005 Aug 19
13
Enumerations (again): Comments please
...ass enum_class end alias_method :const_missing_with_enums, :const_missing end -- Michael Schuerig Those people who smile a lot mailto:michael-q5aiKMLteq4b1SvskN2V4Q@public.gmane.org Watch the eyes http://www.schuerig.de/michael/ --Ani DiFranco, Outta Me, Onto You
2005 Aug 04
12
Sortable table
Hi guys, I have a question that I haven''t been able to find an answer to yet. I''m hoping I can find an answer here. I would like to be able to allow a user to visibly sort the order of rows of a table. I have a table that is used to display tabular data. It allows users to dynamically add rows of tabular data to an existing table. I would like to enable the user to be