search for: gonzul

Displaying 12 results from an estimated 12 matches for "gonzul".

2006 Jul 26
3
newbie: Scaffold doesn''t pickup DB changes
I''m following along with the depot example in ''Agile Web Development'' and ran into a problem with Scaffold. I changed the MySQL table structure to add a few columns directly and also tried the migrate script to change the database after I got the initial scaffolding to work. However, I can''t seem to get the new columns to show up and am stumped as to how I can
2006 May 30
7
Stripping HTML tags from a string
Hello, Is there a common way of stripping html tags from a string? Right now I''m just calling gsub!(/<.*?>/, ''''), but with a background in PHP and always having used its strip_tags() method, I wonder if the Rails community has standardized this fairly common task with something a bit less simpleminded than my quick fix. Thanks! Zack -------------- next part
2006 Jun 01
3
New rails site: AJAX Webbrowser
Heres my Ruby on Rails webbrowser: https://palary.org Sorry, but I just couldn''t resist. Cheers, Scott
2006 Jul 10
2
backups/version controll/source controll
Hi, i was wondering if there was some kind of program i could download to keep track of my rails applications; something in the vicinity of subversion (a open-source backing-up tracking program - i.e to keep track of my applications once they are on the net, during a q&a period, where i''d be changing my application periodicly, but keeping a current version on the net, and one
2006 Aug 09
21
DHH''s Post on Ruby Talk -- Rails 1.1.5: Mandatory security patch (and other tidbits)
We''re still hard at work on Rails 1.2, which features all the new dandy REST stuff and more, but a serious security concern has come to our attention that needed to be addressed sooner than the release of 1.2 would allow. So here''s Rails 1.1.5! This is a MANDATORY upgrade for anyone not running on a very recent edge (which isn''t affected by this). If you have a public
2006 Mar 14
7
Single form w/ relationships: how do I integrate it?
OK - I know this has been asked before, but I cannot find it in the archives. Forgive me if I''m creating more noise than I should. I want to know the easiest way to deal with this scenario: I have articles. I have categories for the articles. On the form where you write an article, there needs to be a free-form field to entire the category. The create() method will build the
2006 Mar 14
8
email address parse
hi all how to parse such email string to a array: #-------------------------------------------- "joe black"<joe_1@joe_black.com> joe_2@joe_black.com, joe_3@joe_black.com #-------------------------------------------- seems emails from user input include various format. and i have to split them to a array. any idea? regards. -- Posted via http://www.ruby-forum.com/.
2006 Jun 16
0
Sorting on a model method?
My model stores pieces of data, and I have a method defined in the model that aggregates those pieces into a more useful form. I''m trying to figure out how to sort with the aggregate ... Currently I have Person has_many involvements, Person has_many events :through=>:involvements, and it''s Events that has the aggregate method, a ''date'' field. When
2006 Feb 16
0
Local assistance in Wellington/NZ ?
Anyone out there in NZ, perhaps in Wellington? I''ve been doing procedural perl/PHP for so long that I''d appreciate some assistance with grokking Ruby :-) and the Rails framework. If you''re local to Wellington I''d be more than happy to pin you down over a liquid refreshment of some sort, as it were ... :-) I''ve just sort-of promised a friend to build
2006 Mar 07
2
file_upload ... won''t
Hi, I''m just trying out Sebastian''s file_upload plugin, but I''m having problems - bound to be my fault! I can''t search gmane at the moment for examples that I''m sure have been recently posted :-( I have a MySQL table "scripts" with a field "filename varchar(255) not null, and a basic scaffold''d set of files for model
2006 May 16
4
Problems with multiple ''id'' columns in a join_table
I have a problem declaring a relationship through a join_table ; the SQL generated by ActiveRecord is correct, but there are two columns called ''id'', and the final object gets the ''wrong'' column ... Here''s a more detailed description of the data, code, and problem :- There''s a People table, with id, name, and a few things. Also a
2006 May 09
13
What is the license of generated code?
I''m trying to figure out what the software license would be for code (scaffolds, etc) generated by Rails. Basically, if I set up a Rails project, can or should I be able to claim copyright (and therefore have the ability to license under e.g. GPL) over the files generated by :- - The "rails" command that creates the initial tree of files - The output of "generate