search for: dutchrailers

Displaying 20 results from an estimated 20 matches for "dutchrailers".

2006 May 31
3
Camping and Builder and XML
Hi, I have built a simple Camping application which indexes an ODBC datasource using Ferret on startup, then accepts search strings and renders the resulting hit list in HTML, and it works quite nicely. The next step was to alternately render the list in XML for consumption by another application. In Rails, I would simply use Builder in the view to get the job done, and so I did the same in
2006 Jun 08
2
Does Edge Rails play well with GEM Rails?
Hi, I have the current version of GEM rails installed on my machine at the moment. I would like to put edge rails on for a project that I''m working on, but I would like to keep the Gem version, at least for the moment. Also is there any documentation about installing Edge rails? I have looked on the wiki but it was not obvious to me where it is. Cheers Daniel -------------- next part
2006 Jun 11
3
[SUMMARY] Rails Core Weekly June 5 - June 11
...uot;http://www.pinupgeek.com/articles/category/rails-core-weekly-news">here</a> Feedback : rramdas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Credits: thanks to <a href="http://blog.caboo.se">#caboose</a>for reviewing ! -- Rodney http://www.pinupgeek.com http://www.dutchrailers.org
2006 Jul 17
0
ANN: Rails Workshop with David Black, Sept 18, Amsterdam, NL
...s on September 18 (right after Railsconf Europe). David''s workshop will have something in it for beginners and more experienced Rails developers alike. More info and signup over at: http://www.buildless.com Seating is limited to 25 people. -- Rodney http://www.pinupgeek.com http://www.dutchrailers.org
2006 Jun 07
1
Calling find on AR class, order by association count?
I suspect that this is going to wind up trivial and I''m going to slap myself in the head... Suppose I have User and Comment AR classes. User has_many :comments, Comment belongs_to :user I want to do a User.find, which returns User objects in order of which user has the most comments. I suspect that this involves renaming the COUNT(*) results of a sub-select so that I can order by
2006 Jun 16
1
Is there a way of retrieving all req parameters without name
Is there a way of retrieving all the request parameters without name in the controller. Thanks & Regards, Asem -- Posted via http://www.ruby-forum.com/.
2006 Jun 18
1
Query
If there were a project to integrate Hobix with Camping, should it be called ShantyTown? Thanks, -mental
2006 Jun 07
4
Edge rails and routes
I have a route that works under 1.1.2 but does not work under edge rails. route.wishlist ''wishlist/:id'', :action => ''show_wishlist'', :id => nil, :requirements => {:id => /\d*/} This worked great without an :id, but under edge rails when I call wishlist_url with no parameters I get: "Exception: can''t convert nil into
2006 Jun 07
10
habtm "AND" find conditions
I have two tables and a join table for them e.g. books, authors in a many to many relationship (habtm) and a join table books_authors. I can successfully search for a book that has "author.id = 2 OR author.id = 4" but I am unable to search for "author.id = 2 AND author.id = 4" This is because the result of all the joins only has one author.id column so no single row has
2006 Jun 18
0
Rails Core Weekly June 11 - June 18
...(!). He explains why. The Core is apparently flabbergasted by the practicality of his suggested patch. No replies have come yet. That''s it for this week, hope to see you at Railsconf late this week and otherwise ''till next Sunday ! -- Rodney http://www.pinupgeek.com http://www.dutchrailers.org
2006 Jun 08
3
Foreign key confusion
I have 2 models right now: "users" and "posts". When a user creates a post I would like their id to be recorded under "user_id" in the "posts" table. Under the "user" model I have: class User < ActiveRecord::Base has_many :posts end And under the "posts" model I have: class Post < ActiveRecord::Base belongs_to :user
2006 Jul 16
1
Rails Core Weekly July 2 - July 16
...ttention over the weekend to fix it. [thread: http://www.ruby-forum.com/topic/73013#new ] Finally, Zach is spicing up AR with Optimizations promising us performance improvement of 400%-600%.... That was it ! More next week ( or the week after ;-) ) -- Rodney http://www.pinupgeek.com http://www.dutchrailers.org
2006 Jun 07
1
has_many, through, want to store email in mysql
Hi, I''m still a new with ROR, but it''s really cool :) I just have this problem with a project of mine. I want to store email in a database. I already wrote a simple import script, that works, so that''s not a problem. Showing the email (efficiently) in a ROR site is. These tables are in the database: emails id email_id (foreign key -> emails.id) seq
2006 Jun 16
4
Unit test and get request with a URL
I''m tyring to write a unit test that uses a get() method to simulate a get request in my functional test. However, get wants an action, and I have a URL. I''m trying to redirect to a URL the user tried to hit before logging in. After they login I want to go back to the URL they originally tried. I can''t find the get() method code in the help or otherwise. I
2006 Nov 14
11
RESTful mixin, mixin repo?
Hi, I just put together a little mixin to provide pseudo-RESTful services in camping apps. Basically, it looks for a hidden _verb field in form posts, and sets the @method to the supplied value (e.g. put or delete - which browsers don''t support). This lets you define put and delete methods in your controllers. Groovy. Code: http://pastie.caboo.se/22613 Is there any permanent repo of
2006 Jun 16
7
How to pass params to long running system call
Hello, Can someone tell me the best way to make a system call (from within my model) that runs for a while and requires params form my model, specifically attributes of my model. So, I need the correct syntax and also general guidelines for launching the process. Thanks so much. Regards, Doug -- Posted via http://www.ruby-forum.com/.
2006 Jun 04
0
[SUMMARY] Rails Core Weekly May 29 - June 4
...ll scale real bind variables solution gets the nod of approval from DHH. That concludes this weeks RCW, a big one. I''ll try to keep it shorter next time :-) RSS feed for RCW: http://www.pinupgeek.com/articles/category/rails-core-weekly-news -- Rodney http://www.pinupgeek.com http://www.dutchrailers.org
2006 Aug 06
0
Rails Core Weekly July 16 - August 6
...w RESTful that would be. DHH suggests nesting is most certainly on the todo list. Jamis Buck suggests: map.resources :whatever_the_resources_are, :controller => "folder/controller" might do the trick for now. That it for, more soon. -- Rodney http://www.pinupgeek.com http://www.dutchrailers.org
2006 Jul 02
0
Rails Core Weekly June 19 - July 2 2006
...it here:http://dev.rubyonrails.org/changeset/4518 Finally, in the stable branch shortly after the security release 1.1.3, a follow up release 1.1.4 is issued. You are strongly advised to upgrade when applicable. That''s it for this week ! -- Rodney http://www.pinupgeek.com http://www.dutchrailers.org
2006 Jun 15
6
Problem with lighttpd
I have a problem with lighttpd on OSX. Everything builds fine (and webrick runs just fine) but lighttpd barfs: edward-kenworthys-computer:~/Development/Ruby/pricematic/trunk edward$ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown