similar to: Is there a way of retrieving all req parameters without name

Displaying 20 results from an estimated 6000 matches similar to: "Is there a way of retrieving all req parameters without name"

2006 Jun 11
3
[SUMMARY] Rails Core Weekly June 5 - June 11
Dear list, This weeks RCW has a slightly different format than before. After all, since what we want is less bloat, this RCW is less verbose. Please do let me know what you think off-list. *Interesting stuff on the Rails Timeline* _Fixed and commited to trunk:_ An issue with not null columns in SQLite3 migrations(<a
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 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 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 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 Jun 18
1
Query
If there were a project to integrate Hobix with Camping, should it be called ShantyTown? Thanks, -mental
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 May 15
2
retrieving hashes key & values (ASAP)
Hi, I want to retrieve the set of key & values which returns from a stored procedure : connection.select_all "exec common.dbo.scr_lookupric ''AAP.N'' ". The results i want to display in a view screen call result.rhtml. Please help me out ASAP. Thanks in advance. joshua... -- Posted via http://www.ruby-forum.com/.
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 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
3
Not able to recognize helper class method in controller!
Hi, Not able to recognize helper class method in controller! When I try to call some method "get_formatted()" in my controller, it says local method not recognized. Please help me out. Thanks, josua -- Posted via http://www.ruby-forum.com/.
2014 Jun 23
4
[PATCH] Support for ASEM UPS on Linux/i2c
On 18/06/2014 04:17, Charles Lepple wrote: > On Jun 13, 2014, at 2:53 AM, Giuseppe Corbelli <giuseppe.corbelli at copanitalia.com> wrote: > >> As said in previous mail, I just finished a first working version of a driver for the UPS found on ASEM PB1300 device >> (http://www.asem.it/prodotti/industrial-automation/box-pcs/performance/pb1300/) >> Linux only, accessed
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/.
2014 Jun 13
2
[PATCH] Support for ASEM UPS on Linux/i2c
As said in previous mail, I just finished a first working version of a driver for the UPS found on ASEM PB1300 device (http://www.asem.it/prodotti/industrial-automation/box-pcs/performance/pb1300/) Linux only, accessed through i2c/SMBUS. If you can spare some time, please review. Expecially my autotools skills are ehm... a bit rusty. -- Giuseppe Corbelli WASP Software Engineer,
2014 Jun 18
0
[PATCH] Support for ASEM UPS on Linux/i2c
On Jun 13, 2014, at 2:53 AM, Giuseppe Corbelli <giuseppe.corbelli at copanitalia.com> wrote: > As said in previous mail, I just finished a first working version of a driver for the UPS found on ASEM PB1300 device > (http://www.asem.it/prodotti/industrial-automation/box-pcs/performance/pb1300/) > Linux only, accessed through i2c/SMBUS. > If you can spare some time, please review.
2014 Jul 07
0
[PATCH] Support for ASEM UPS on Linux/i2c
Giuseppe Corbelli <giuseppe.corbelli <at> copanitalia.com> writes: > Nevermind, please try the one attached, just created by > > git diff -p 80d9534 configure.ac data/driver.list.in drivers/Makefile.am > drivers/asem.c > asem.patch > > Just applied it on current master (80d9534a133da170cade150700407920450a9753) > and seems ok. Sorry I did not test this
2014 May 28
2
New driver for ASEM UPS
Hi all I'm developing a NUT driver for a custom UPS found on ASEM PB 1300 devices (http://www.asem.it/prodotti/industrial-automation/box-pcs/performance/pb1300/) It's based on some custom charger and a bq2060 battery monitor, talk to it on i2c bus. I will have something usable in a few days. Got some questions/considerations, though: *) interested in integrating into NUT? *) would you
2014 Jul 07
2
[PATCH] Support for ASEM UPS on Linux/i2c
On 07/07/2014 15:03, Charles Lepple wrote: > Giuseppe Corbelli <giuseppe.corbelli <at> copanitalia.com> writes: > >> Nevermind, please try the one attached, just created by >> >> git diff -p 80d9534 configure.ac data/driver.list.in drivers/Makefile.am >> drivers/asem.c > asem.patch >> >> Just applied it on current master