search for: paranj

Displaying 20 results from an estimated 56 matches for "paranj".

Did you mean: paranĂ¡
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 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 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 Jul 29
2
Finding sum
# Get a list of product ids from a form, then # sum the total price product_list = params[:product_ids] total = Product.find(product_list).sum(&:price) I understand the first list line and part of the second line, but what does the & symbol mean? TIA.
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 aborted! Mysql::Error: Table ''depot_development.line_items'' doesn''t exist: alter table line...
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 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
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
2007 Dec 29
2
Simply Rich Authenticator Released
Hi, I have developed a mini Rails app using Rails 2.0.2, RESTful authentication and Acts as State Machine. It has the following features: 1. Login 2. Logout 3. User Activation 4. Forgot Password 5. Reset Password You can check out the code from: svn checkout *http*://simply-rich-authenticator.googlecode.com/svn/trunk/simply-rich-authenticator-read-only Happy New Year! --
2006 Dec 07
4
Removing a block of text within a string
When you first visit my site, you see a snippet (the first 75 words) of the most recent post. If it exceeds 75 words, a link will be appended to extend the post and read it in full. Now, my problem is when I post a code snippet, and I use "pre" tags to preserve its formatting, I don''t want that to show up on the snippet... only on the full version of the post. The reason is
2006 Oct 25
7
rest nested resources - Help please
I can''t believe I''m back again with another rest question. I did go through the peepcode podcast. I thought though you can have multiple nested resources, is that not true ? I have this set up map.resources :candidates do |candidate| candidate.resources :canbackgrounds candidate.resources :canpositions end I just coded up teh canpositions and now all
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 Jul 18
1
RadRails and SVN
I installed the Eclipse 3.2, Subclipse, and RDT: http://updatesite.rubypeople.org/release and RadRails: http://radrails.sourceforge.net/update. I am getting the "Failed to load JavaHL Library" error message when I go to Preferences -> Team -> SVN tab. This is also happening in standalone RadRails installation. How can I fix this? TIA.
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 Jul 31
1
Ruby Cookbook
Ruby Cookbook is out. I browsed the book today at the bookstore. It looks very good with a section on Rails. There is no review on Amazon yet. Did anyone get a chance to review this book?
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 Jun 25
1
Unit Testing failure
When I run the unit testing code in Unit Testing Models chapter of the Agile Rails book, I get the following error: $ ruby test/unit/cart_test.rb Loaded suite test/unit/cart_test Started F. Finished in 0.21806 seconds. 1) Failure: test_add_duplicate_product(CartTest) [test/unit/cart_test.rb:22]: <4690> expected but was <3579>. 2 tests, 3 assertions, 1 failures, 0 errors require
2006 May 18
0
LoginGenerator
try >sudo gem install login_generator > -----Original Message----- > From: rails-bounces@lists.rubyonrails.org > [mailto:rails-bounces@lists.rubyonrails.org]On Behalf Of Bala Paranj > Sent: Thursday, 18 May 2006 1:26 PM > To: rails@lists.rubyonrails.org > Subject: [Rails] LoginGenerator > > > I am following the instruction on the wiki and when I run: > gem install login_generator > > I get: Permission denied - > /usr/local/lib/ruby/gems/1.8/c...
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