similar to: Simple Rails Questions

Displaying 20 results from an estimated 10000 matches similar to: "Simple Rails Questions"

2005 Dec 31
7
Dynamic form? Not really!
Hi guru''s out there, Im happilly coding my first rails app, and all goes well. I find myself manually coding in a particular field all the time (company_id), that relates the contact to a company. The total coding of this form seems somewhat much. Could somebody tell me what Rails power I''m possibly missing and stuborn as I am trying to do myself? I was wondering if the
2006 Jan 05
7
HOWTO: Combine fields from 2 two tables in 1 object
Hi all, For a dropdownlist (showing "Company - FirstName Lastname'') I want to fill an object @project_contacts with "Name" from table Companies and "Firstname" and "Lastname" from table contacts. Any idea? Regards, Gerard. -- "Who cares if it doesn''t do anything? It was made with our new Triple-Iso-Bifurcated-Krypton-Gate-MOS
2006 Apr 26
2
Deploying Rails Application?
Hi, after someone has performed the ''rake freeze_gems'', how does one reverse this action? I guess my goal was to deploy a 1.1.2 rails application on a 1.0 rails host. Is this the correct step to perform for deployment. If any one has any insight, please drop me an e-mail and thanks in advance. Peace, -Conrad -------------- next part -------------- An HTML attachment was
2006 Mar 15
3
Adding Gems and Plugins To A Shared Hosting Account?
Hi, I have a hosting account with godaddy.com and I guess after asking about RoR, it''s now installed on both the Deluxe and Premium shared plans. Now, it seems that I don''t have command line access (i.e ssh). Thus, I was wondering, how does one check to see what gems are installed and how can I add other gems? Is it possible to add gems and plugins to the local project and
2010 Apr 30
2
Simple example of decoding streaming audio realtime?
Conrad, That's exactly what I was looking for. I just got finish trying several attempts at porting libfishsound to XCode/CocoaTouch land but am facing dependency issues on the other xiph libraries. (liboggz, libvorbis, libflac, etc.) Rest assured I know what the issues are and how to address them. I am at a fork here. I can either port the bulk of the xiph libraries to XCode or continue on
2005 Dec 30
3
NewbieQ - Relational tables
Hi all, I''m going nuts on a very simple issue. I know what I want but don''t know what to tell rails to do so. I have a very common setup for managing contacts. A companies table and a contacts table. As you''ve guessed it''s a one to many relationship. The database is setup with the appropriate foreign keys, the models have been generated and I added the
2006 Apr 25
3
Simple Rails Question
Hi, I have a few simple rails questions: Does the check_box_tag map to an int or to a boolean field within the database? Thanks in advance, -Conrad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060425/4956dc68/attachment.html
2010 Apr 30
2
Simple example of decoding streaming audio realtime?
On 30 April 2010 11:43, Sherief N. Farouk <sherief at mganin.com> wrote: >>> I'm a software engineer. I'm terribly uncomfortable with C. > > Aaaaahahahahahahahaha Please be civil, guys. Different engineers have different skill levels, so what. If someone asks for some help with the reference implementation the least we can do is point them in a useful direction. If
2006 Feb 28
5
List and update installed gems?
Hi, could someone tell me how to list and update the currently installed gems on my rails installation? Thanks in advance, -Conrad
2006 Feb 25
2
Ruby Interface Recommendations Photo Gallery Creation?
Hi, I''m looking to create a gallery index page of thumbnail images which point to their associated images galleries. Also, I would like to organize the images from left to right and top to bottom. Furthermore, I would like to limit the number of thumbnail images on the page. I guess that I''m needing some type of horizontal looping interface for both the thumbnail index page
2006 Apr 27
3
Rails apps and TextDrive
Hi, I was wondering, does anyone have experience with deploying rails application(s) on TextDrive. At this time, I''m only seeing an index page remotely but on my system, I would type the following and obtain the expected result: http://localhost:3000/visitor/list However, when I perform the same operation on textdrive, I''m getting the following message on the screen:
2006 Apr 01
2
Migrating Rails 1.0 Application to 1.1
Hi, I was wondering, what''s the steps to migrating a Rails 1.0 to 1.1? Thanks in advance, -Conrad
2006 Apr 09
16
Rails 1.1.2: A tiny fix for gem dependencies
The new gem version dependency system from Rails 1.1.1 needed a few tweaks to work properly and to stop throwing meaningless warnings. This tiny release makes up for that. To install: * gem install rails * rake rails:update:configs (to get the latest config/boot.rb) This release also signals our new commitment to do more tiny releases from the stable branch, which only gets bug fixes. So it will
2006 Feb 24
6
MySQL client used in online presentation?
Hi, could someone tell me the name of the MySQL that''s being used with the online presentation: http://media.rubyonrails.org/video/rails_take2_with_sound.mov Thanks in advance, -Conrad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060224/bdf999b0/attachment-0001.html
2006 Apr 06
1
Install Rails Engine Plugin for every Rails Application?
Hi, does one need to install the Rails Engine Plugin and any additional plugins for each Rails application? Thanks, -Conrad
2006 Apr 12
1
Great Job Instant Rails Team
Hey John, I received the same type of functionality but I simply used WebBrick instead of SCGI and I was up and running. Great Job Instant Rails Team! :-) BTW, I have used rails on my PowerMac but this is the first for the PC and it took me less than 10 minutes to get operational. This includes download time, unpacking, and firing up the cookbook application. Now, I wish that my .Net project
2006 Mar 04
1
Hiding and expanding form fields?
Hi, I''m wanting to create a form where some of the for fields are hidden until the user clicks the advanced link. BTW, I''m looking for the functionality similar to the Rails Welcome page (i.e. http://localhost:3000). The relevant link hear is as follows: http://localhost:3000/rails_info/properties In short, it seems to be a expand and collapse functionality using AJAX.
2006 Feb 23
3
Correct to use Apache with Rails?
Hi, I have looking for the best way to integrate Apache 1.3.x and RoR. BTW, I have gone through several different articles and I''m not clear as to which method is the correct method for a production level environment. Thus, if someone could shed some light on this topic, it would be most appreciated. Thanks in advance, -Conrad -------------- next part -------------- An HTML attachment
2006 May 16
7
svn-1.3.1 errors on intel mac on checkout
I just installed svn-1.3.1 from .dmg on an intel mac. I am getting ... subversion/libsvn_wc/log.c:338: (apr_err=155009) svn: In directory ''sr'' subversion/libsvn_subr/io.c:565: (apr_err=2) svn: Can''t copy ''sr/.svn/tmp/text-base/README.svn-base'' to ''sr/README.tmp'': No such file or directory Any one getting this? TIA for any help.
2009 Oct 19
3
routing namespaced controllers
Hi, I have one controller in the /app/controllers/animals_controller.rb directory, and another in /app/controllers/production/services_controller.rb. The thing is that one Animal has many Services, and i''d like to access to them using something like: http://localhost:3000/animals/1/production/services/1 or at least with: http://localhost:3000/animals/1/services/1 I tried the last one