Displaying 20 results from an estimated 3000 matches similar to: "Finding sum"
2006 Aug 08
8
RESTful Rails Plugin
I am following the instructions on how to use RESTful Rails plugin found at
http://www.xml.com/pub/a/2006/04/19/rest-on-rails.html?page=3.
When I run the rake test:functionals
I get the following error message:
rake aborted!
undefined method `first'' for :book:Symbol
(See full trace by running task with --trace)
How can I fix this problem? I am using Rails 1.1.4 version. TIA
2006 Jun 01
3
Webtrends For Rails ???
Is there any tools that is similar to Webtrends that can be used with Rails based Web sites? TIA
http://www.ProblemSolvingSkill.net
Hone your problem-solving skills
2006 Oct 12
7
Evil Scaffold
I read the Amy Hoy''s presentation on why scaffold is not a good thing for beginners. For admin
application, is it ok to use scaffold?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2006 Jun 28
20
Rails Vs JBoss Seam
I have been frustrated with J2EE technology just like any other developer who has worked in that
technology for a long time. This made me learn about Rails and I was excited about RoR. Today I
came across JBoss Seam framework and I am not able to contain my excitement.
My passion for JEE development is back. It seems like it is better than RoR. I would like to hear
differnt opinions about this
2006 May 18
10
new user.
Question please.
I''ve bought the beta ''Agile web dev with rails''.
Are book related questions valid on the list please?
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
2006 Jun 24
2
Migrations problem with Agile Rails book
I am following the instructions on Agile Web Development with Rails book "Iteratio E1: Capturing
an Order" section. When I run the migrations I get the following error.
rake db:migrate
(in /Users/balaparanj/work/depot)
-- execute("alter table line_items \n
add constraint fk_line_item_products \n
foreign key (product_id) references products(id)")
rake
2006 Jul 14
1
Rails Deployment OS
Agile Rails Development book says that it is a good idea to deploy regularly during the
development process. So, I am planning to install Linux on my old PC for this purpose. But I don''t
know where to start. Which Linux do the Rails developers prefer and why? TIA.
2006 Sep 16
1
Selenium Vs Zentest
I would like to know which one is better. Zentest seems to lack good documentation whereas
Selenium seems to be having good documentation. TIA
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2006 Jul 31
2
updating records in a many-to-many relationship
Im trying to establish relationships in a many to many table.
When I create a user, I do this to insert the different relationships
between the user and sports:
c.sports<<Sport.find_all_by_name(params[:sports])
where c is the user. The problem is, when I edit this user, and lets say
he adds a sport, I can''t use this because I get an error saying that
some records already
2006 Oct 25
7
Rails Authentication Choices
I am evaluating the Yahoo Browser Based Authentication Rails plugin for use
in my web app. It looks like a good idea to make the signup process easier
by using this plugin.
I see the following advantages for using it:
1. Less code ;-)
2. I don''t have to struggle with Acts As Authenticated or RESTful
Authentication plugins to get this functionality.
3. I can safely assume most of my
2006 Nov 29
4
how do I model self-referential entities?
Hi all -
I am having some trouble figuring out how to model self-referential
entities in Rails.
I have a "group" model, which can have 0 or more "group" objects or 0 or
more "user" objects.
I tried creating a subgroup table that has a parent_group_id and a
child_group_id as foreign keys but can''t figure out how to create the
mapping in my ruby model
2006 Jul 30
1
Doubt on composite index
The AWDwR book has the following:
add_index :categories_products, [:product_id, :category_id]
add_index :categories_products, :category_id
The first, composite index actually serves two purposes: it creates an index which can be searched
on both foreign key columns, and with most databases it also creates an
index that enables fast lookup by the product id. The second index then
completes
2006 Aug 03
9
Rails Cheatsheets!!!
Hey if you know any rails cheatsheet link add it inot the follwing list,
lets make a long list on Rails cheatsheet.... ;)
1)
2)
3)
4)
.
.
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060103/a6eea2ac/attachment-0001.html
2006 Aug 10
6
Login Restfully
In DHH''s keynote, he alluded to doing logins with REST. Has anyone
implemented this, and if so, would you mind elaborating on how you did
it please?
Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
2007 Dec 17
9
Rails 2.0.2: Some new defaults and a few fixes
Now that we have the big Rails 2.0 release out the door, it''s a lot
easier to push out smaller updates more frequently. So that''s what
we''re going to do. Rails 2.0.2 contains a bunch of smaller fixes to
various bugs, no show-stopping action, just further polish. But it
also contains a few new defaults:
2010 Jul 08
4
testing authentication with basic_auth
hi, I''ve got an api which is using
authenticate_or_request_with_http_basic
What are you guys using to test this? I''m using rspec, and before I
was using rspec-rails, I was using authorize from Rack::Test to do the
authentication. However, authorize clearly doesn''t work when using
rspec-rails, so I''m wondering what everyone else is doing?
--
You received this
2006 Jan 06
6
HABTM problem not saving all associations
Hello all,
I have an Order object that has and belongs to many Products and has
and belongs to many Loan Types. This is so I can select multiples of
each in my order entry screen via checkbox groups.
I''m having some trouble with saving multiple HABTM associations for a
single model object; only the first HABTM association declared in the
model will save during the initial @order.save
2006 Jan 01
4
Agile book deltas
Are there deltas for the revisions of the PDF version of the Agile book?
-- fxn
2006 Oct 25
4
need help on special HABTM relation
hey all,
I have three tables like this:
forum (id,title)
usergroup(id,title)
forum_perms(usergroup_id,forum_id,read,write,post)
is there a way to deal with that kind of relation with rails such as by
using has_and_belongs_to_many kind of stuff?
thanx in advance
Pat
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2006 May 19
2
Using Rails with Subversion
I followed the instructions at Hivelogic on Building Subversion (SVN) on Mac OS X and installed it
on my machine.
Now I am following the rubyonrails wiki on How to Use Rails With Subversion, it assumes that you
have already created a subversion repository. Could someone please point me in the right direction
for creating a subversion repository? Searching lead me to macdevcenter which seems to be