similar to: Ajax Tabs

Displaying 20 results from an estimated 5000 matches similar to: "Ajax Tabs"

2006 Jan 25
2
Update join_table attributes
I have two ActiveRecord classes that point at each other with a "has_and_belongs_to_many" (habtm) relationship using a join table. The join table has an a few additional columns besides the _id columns. For those of you with the Agile Web Dev w/ Rails book, it''s exactly the same setup as the articles<->articles_users<->users example on p240. The habtm
2006 Jan 09
3
Include with two references of one model of the same table
Hey guys, I just came across this oddity, not sure what to make of it yet, but I think it might be incorrect behavior. When doing a @inst.find(:all, :include => ["hometeam", "awayteam"] ...) hometeam and awayteam are two references from a belongs_to that is of the same model and of the same table. I will get a pgerror stating that "matches", which is
2006 Jan 04
11
Query Mixin by Duane Johnson
Hello At the start of October, Duane Johnson announced the Query mixin plugin on this list. The code was attached to the announcement email. Unfortunately, I''ve not been able to locate the attached code. Goggle has not helped me this time. Could somebody forward it to me? Thanks in advance Harvey This e-mail has been scanned for all viruses by MessageLabs.
2005 Dec 22
7
Ruby on Rails and lookup tables
Hi, I''m a newbie on both Ruby and Ruby on Rails, and I''m struggling with my first app. I have a table with a column called "employee_id" which is a foreing key associating it with the "employees" table. I have populated both tables. When I run "ruby script/generate scaffold <model name> <controller>" it generates a web page with all
2006 Jan 11
4
what is that IDE in the blog screencast?
Hi there, I know it''s not a very construtive question but...=/ what is that IDE in the blog screencast at rubyonrails.com? I couldn''t yet find a very good IDE for Ruby and I really liked that one! =) Thank you... -- Posted via http://www.ruby-forum.com/.
2006 Jan 09
3
Thomas Fuchs Interview on Audible Ajax
Hi guys, I had the pleasure of interviewing Thomas Fuchs for "Audible Ajax", and thought that some of you may be interested to hear it: http://ajaxian.com/archives/audible-ajax-episode-12-thomas-fuchs-of-scriptac ulous Cheers, Dion Almaer Founder, Ajaxian.com http://ajaxian.com Cleaning up the web with Ajax
2006 Jan 24
2
NULL id''s / invalid references
Hi, could you suggest me how to handle this in a proper way? I have a table which has othertable_id column (relationship is belongs_to) Problem is, that sometimes there is a NULL value and table.othertable.foo returns an error... what should I do about it? change something in model? in view? or just add "unknown" row to othertable and update table.othertable_id with id of this
2005 Dec 30
2
Beauty in Page Layout
Hi Railers, I have a model with many associations (20+). I would like to display the relative associations using AJAX, allowing the user to display the association his/her is interesting at a particular time. Is there any existing applications or sample code that I can look at to accomplish the task? Present I have one long page, with master (displaying current record information) and many
2006 Feb 14
6
Rails on Sun
Hi Everbody, I''ve got a potential idea for introducing Rails to my company. My only shot at this is to minimize what our Ops guys would have to install and configure to get this up and running. Right now, our servers are Solaris boxes and we are using Sun ONE as our web server. Anyone got Rails running in this environment? Also, has anyone got Rails talking to Oracle databases?
2006 Jan 10
5
Oracle 10g Express - generate scaffold gives error
Hello, I have Oracle XE installed. I have a table USERS. When I try to generate a scaffold it gives me this error. I tried also with Mysql and it worked. E:\radrails\projects\MPS>ruby script\generate scaffold user exists app/controllers/ exists app/helpers/ create app/views/user exists test/functional/ dependency model exists app/models/ exists
2006 Jan 11
8
Oracle and Rails seems really slow.... In development
I''m just looking into how to connect to Oracle using Rails. I''ve got everything connecting and working as it should. I have a Users table in Oracle: create_table "users", :force => true do |t| t.column "username", :string t.column "created_on", :datetime t.column "email", :string t.column "note", :text
2005 Jan 09
2
Bug#289529: logcheck: "Ghandi" should be "Gandhi" in README.how.to.interpret
Package: logcheck Version: 1.2.32 Severity: minor "Ghandi" should be "Gandhi" in README.how.to.interpret, assuming that you mean the Indian freedom fighter M.K. Gandhi a.k.a. Mahatma Gandhi. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.7 Locale: LANG=C, LC_CTYPE=C
2006 Jan 02
5
NoobyQ: how to work with a table of static lookup data??
Hello out there! Nooby question: What''s the "Rails" way to work with tables of relatively static lookup data? Objectively (I''m thinking); I don''t want to hit the DB each time, so for each lookup table, initialize a globally available hash with lable/value pairs... Am I on the right track? How would you do this kind of thing in Rails? Thanks! --
2005 Dec 15
5
Avery Lables, PDF::Writer or LaTex?
In a new app we are developing, we need to be able to dynamically create a PDF and send it to the browser (inline with send_data). I have been tinkering with PDF::Writer and love the simplicity and native ruby-ness of it all. However, one of the main uses for this functionality is to output a PDF of addresses to be printed on Avery 5161 labels. LaTex seems to be suited well for this, but it
2001 Mar 27
2
How do I change the editor in R command window?
Dear R-help, I have started using R on my Linux box (Debian), and I have some problems with setting the editor/keyboard for R. The For instance, arrow-up gives "^[[A", and delete gives "^H". I have a Norwegian keyboard, but that doesn't cause any problems for editors like emacs. Could you advice me on how I can set the editor for R right? I have tried
2005 Nov 22
11
Building a conditions clause (for find) of multiple optional params?
I want to be able to find items according to various params - category_id, member_id, type_id, rating, etc. What I have now is something like: if(@params[''category_id'']) @items=Item.find(:all, :conditions=>["category_id=?", @params[''category_id'']) elsif(@params[''category_id''] and @params[''member_id''])
2007 Sep 25
3
XMMS on CentOS 5
I would like to know why CentOS doesn't have xmms. -- "Nuestra recompensa se encuentra en el esfuerzo y no en el resultado. Un esfuerzo total es una victoria completa". Mahatma Gandhi (@ @) |------o00o-(_)-o00o----------| |Manuel Enrique Ch?vez Manzano| |manuel864 at gmail.com | |manny at cmc.cfg.sld.cu
2005 Aug 29
1
staying with R, jobs in R
Hi: I started using R and am an avid fan of the product and also the concept. I am considering switching jobs but do wish to continute with R while the industry standard seems to be SAS. Is there any web site which posts jobs at places which use R for their work. avneet -- An eye for an eye makes the whole world blind. ~Mahatma Gandhi http://truthloveandcompassion.blogspot.com/
2005 Dec 20
8
Using rails with stored procedures
Hi all! I am quite new to rails, and I would like to know if there is a tutorial, or if someone can tell me how to use rails with stored procedures and views. Any help would be appreciated. Thanks to all -- ------------------------------------------- Gioachino Bartolotta
2005 Jan 17
1
merge data frames taking mean/mode of multiple macthes
Hello :) I have two data frames, one has properties taken on a piece by piece basis and the other has performance on a lot by lot basis. I wish to combine these two data frames but the problem is that each lot has multiple pieces and hence i need to take a mean of the properties of multiple pieces and match it to the row having data about the lot. I was wondering if there is a simple commmand,