[Rails] No method defined in controller

2015-04-11 Thread Rahul Arora
Hello all, i am working on login module of application i have the method defined in Model and calling it from controller but the error says no method defined in controller below are model and controller code class AuthenticationController ApplicationController def sign_in @user = User.new

[Rails] Re: Automatic navigation?

2014-09-01 Thread rahul kumar
http://www.corelangs.com/js/basics/redirect.html Javascript Redirect On Tuesday, November 20, 2012 9:04:34 PM UTC+5:30, Ruby-Forum.com User wrote: Instead of asking the user to click on links to navigate to a new page, how can I implement automatic page navigation? I would imagine there

[Rails] ActiveRecord newbie question

2013-02-27 Thread Rahul Sharma
transactions. Is it possible to do this without migrations? or if with migrations, what sort of migrations would I need? Thanks, Rahul -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from this group and stop receiving emails

[Rails] Re: Having two paths for a single action with different parameters

2012-11-28 Thread rahul chandra
well for understanding, If you add a symbol like(:city) in the routes it takes that as a variable and whenever you call that route you have to pass a variable like *list_users_path(:city)* or */users/(:city).* On Wednesday, November 28, 2012 2:12:12 PM UTC+5:30, Sumit Srivastava wrote: Hi,

Re: [Rails] Re: Having two paths for a single action with different parameters

2012-11-28 Thread rahul chandra
sure! no problem. On Wednesday, November 28, 2012, sumit srivastava wrote: Thanks Rahul. If possible could you explain any more cases as I faced. It would be helpful. Regards Sumit Srivastava The power of imagination makes us infinite... On 28 November 2012 15:32, rahul chandra

[Rails] calling java application (BIRT) from rails application

2012-10-25 Thread Rahul Kumar
How to call java based application (BIRT) from a rails application . pLease help.Do I require RJB or Jruby or is there any other way to get this thing done . please can you explain in detail. please help -- Posted via http://www.ruby-forum.com/. -- You received this message because you are

[Rails] Re: calling java application (BIRT) from rails application

2012-10-25 Thread Rahul Kumar
Kad Kerforn wrote in post #1081147: I guess BIRT java app already has a javascript API you can call from your Rails-Ruby app someone already worked it : see : https://github.com/casp/Birt-library-for-Ruby this guy may help you Le jeudi 25 octobre 2012 09:34:17 UTC+2, Ruby-Forum.com User

[Rails] CSV Import Issue

2012-05-01 Thread Rahul B.
Hi, This seems to be a very small error but I cannot find any solution to this problem.. I am trying to use the CSV gem in my rails(3.2) application(ruby 1.9.3) and I am getting an error NoMethodError. My controller is: require 'csv' def import file = params[:file] -- error

[Rails] EMBEDDED DOCUMENT::help.....

2011-12-04 Thread rahul chandra
i have problem with this AS I AM NOT ABLE TO CALL PROFILE FROM USER IT SHOWS UNDEFINED METHOD PROFILE. class User include MongoMapper::Document one :person, :class_name = 'Person', :foreign_key = :owner_id end class Person include MongoMapper::Document include ROXML xml_accessor

[Rails] include MongoMapper::EmbeddedDocument

2011-12-02 Thread rahul chandra
I have a User model and Profile model, i am using mongo_mapper, i made profile as include MongoMapper::EmbeddedDocument , i am not able to call profile from User class please help! -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To

[Rails] I am not able to access application in the browser...

2011-11-30 Thread rahul chandra
My server is running but not getting anything ### In server m getting # Started GET /users/sign_in for 127.0.0.1 at 2011-11-30 16:56:13 +0530 Processing by UsersController#show as HTML Parameters: {id=sign_in} Completed 401 Unauthorized in 1ms ##and in browser### The page

Re: [Rails] I am not able to access application in the browser...

2011-11-30 Thread rahul chandra
thanks guys figured it out... On Wed, Nov 30, 2011 at 5:37 PM, Jim Ruther Nill jvn...@gmail.com wrote: On Wed, Nov 30, 2011 at 7:59 PM, Colin Law clan...@googlemail.com wrote: On 30 November 2011 11:41, rahul chandra richesra...@gmail.com wrote: My server is running but not getting

Re: [Rails] I am not able to access application in the browser...

2011-11-30 Thread rahul chandra
The problem was in routes and i rewrite it again... On Wed, Nov 30, 2011 at 5:50 PM, Colin Law clan...@googlemail.com wrote: On 30 November 2011 12:17, rahul chandra richesra...@gmail.com wrote: thanks guys figured it out... It is good practice to describe the solution in case anyone finds

Re: [Rails] How do I get autotest to work?

2011-11-27 Thread rahul chandra
check this out!-- http://ph7spot.com/musings/getting-started-with-autotest On Sun, Nov 27, 2011 at 11:56 PM, Jason Hsu, Mr. Swift Linux jhsu802...@gmail.com wrote: For the life of me, I can't get autotest to work. I should note that I am not using RVM, because I couldn't get it to work.

[Rails] i am new to rails please help...

2011-11-24 Thread rahul chandra
Template is missing Missing template layouts/session_wall with {:handlers=[:erb, :builder, :coffee, :haml], :formats=[:html], :locale=[:en, :en]}. Searched in: * /home/rahul/Rails_projects/staytuned/app/views * / home/rahul/lib/ruby/gems/1.9.1/bundler/gems/devise-88ab2fe14e88/app/ views Thanks

Re: [Rails] How to upgrade rails 2 application to rails 3?

2011-11-24 Thread rahul chandra
i think u have to change all its dependencies a/c to -v 3.0 On Thu, Nov 24, 2011 at 12:15 PM, sateesh ch li...@ruby-forum.com wrote: I developed a rails application using rails 2.3.8 version but now how to upgrade this application in rails 3.0 version. -- Posted via

Re: [Rails] i am new to rails please help...

2011-11-24 Thread rahul chandra
sorry guys i was missing Session_wall layout template, SOLVED! On Thu, Nov 24, 2011 at 7:20 PM, Colin Law clan...@googlemail.com wrote: On 24 November 2011 01:27, rahul chandra richesra...@gmail.com wrote: Template is missing Missing template layouts/session_wall with {:handlers=[:erb

[Rails] performance issues of rails app

2011-10-13 Thread Rahul Attuluri
, Rahul Attuluri, -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more

[Rails] Rails console error

2011-10-13 Thread Rahul Attuluri
Hi, I'm getting the following lines when I tried to open rails console: /home/rahul/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/test/unit/ assertions.rb:6:in `top (required)': Test is not a module (TypeError) Please help me how to correct it. Thanks in advance. Regards, Rahul -- You

Re: [Rails] performance issues of rails app

2011-10-13 Thread RAHUL ATTULURI
Hi, I have changed my database to mysql. Can I know how to deploy my app in production mode. On Thu, Oct 13, 2011 at 10:11 PM, Colin Law clan...@googlemail.com wrote: On 12 October 2011 21:54, Rahul Attuluri rahuls...@gmail.com wrote: Hi, I built a sample app on rails. I'm using

[Rails] Is this functionality achievable through accepts_nested_attributes_for

2011-10-10 Thread Rahul
I have these four models class Comment ActiveRecord::Base has_many :relationships has_many :advantages, :through = :relationships, :source = :resource, :source_type = 'Advantage' has_many :disadvantages, :through = :relationships, :source = :resource, :source_type = 'Disadvantage'

[Rails] How to display controller specific javascript in rails 3.1?

2011-09-05 Thread Rahul
I have my assets folder structure like this assets javascripts products --product.js --productValidate.js store --store.js I want the project.js and projectValidate.js to be added in my application.js as a part of asset pipe-lining only when actions in product

[Rails] Pagination doesn't work with will_paginate. Could anyone help with this?

2011-08-19 Thread Rahul
I am currently using Rails 2.3.5. I installed will_paginate gem 2.3.16 as suggested in the will_paginate github page. But will_paginate is not being recognized when I use it and I always end up with an error.The following are the error when used from the project console and have also included my

[Rails] Re: Pagination doesn't work with will_paginate. Could anyone help with this?

2011-08-19 Thread Rahul
Cheung frederick.che...@gmail.com wrote: On Aug 19, 7:49 am, Rahul rahulratz...@gmail.com wrote: I am currently using Rails 2.3.5. I installed will_paginate gem 2.3.16 as suggested in the will_paginate github page. But will_paginate is not being recognized when I use it and I always end up

[Rails] Problem with installing rails plugin (restful_authentication)

2011-08-19 Thread Rahul
I am trying to install restful_authentication plugin in my machine which is running rails -v 2.3.5. I get the following error when i try to install it ruby script/plugin install http://github.com/technoweenie/restful-authentication.git restful_authentication Plugin not found:

[Rails] Re: Pagination doesn't work with will_paginate. Could anyone help with this?

2011-08-19 Thread Rahul
On Aug 19, 3:30 am, Rahul rahulratz...@gmail.com wrote: I missed that part initially, then added the following in my environment.rb           config.gem 'will_paginate', :version = '~ 2.3.16 and tried running rake gem:install from the project directory.But I ended up

[Rails] Why don't I get the correct error messages?

2011-08-16 Thread Rahul
This is my model class Product ActiveRecord::Base validates_presence_of :title, :description, :image_url validates_numericality_of :price validate :price_must_be_at_least_a_cent validates_uniqueness_of :title validates_format_of :image_url,

[Rails] What Is Wrong With Code - I am beginner- Time Limit Exceed Problem

2011-08-13 Thread Rahul
return l-1 end end end x = squareroot(55) print x Rahul -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email

[Rails] Re: A single column with foreign keys from Multiple tables

2011-08-11 Thread Rahul
Hi, Awesome guys.. Thanx a lot.. :polymorphic does exactly what I wanted... I'm a newbie in rails but I'm starting to love it.. -- Rahul On Aug 10, 7:02 pm, Matt Jones al2o...@gmail.com wrote: On Aug 9, 2:09 pm, Rahul rahulratz...@gmail.com wrote: Hi,           Consider this scenario, I

Re: [Rails] Install Ruby 1.9.2 and rails

2011-08-11 Thread rahul patil
to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. -- Regards, Rahul Patil -- You received

[Rails] A single column with foreign keys from Multiple tables

2011-08-09 Thread Rahul
Hi, Consider this scenario, I have a table which stores the likes and it would stores the likes from all sorts of tables like blogs,comments, postings, reviews, etc. So the table has the following columns(id, like_id and type) where like_id is the id from any of the previous mentioned

[Rails] Tutorials

2011-08-06 Thread Rahul Rai
I have struggled a lot to run my first rails app on windows None of the tutorials explain in as simple as this one http://www.javapassion.com/handsonlabs/rails_basics/ could run hello world but the rest are not free how to get them ? -- You received this message because you are subscribed to

[Rails] A help for installing rails on windows

2011-03-11 Thread rahul rai
incompatibility . Please help . I mean how to edit my site . -- Rahul -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk

[Rails] imagemagick 6.6.7.4-Q8

2011-02-03 Thread Rahul C.
which rmagick gem configured with imagemagick6.6.7.4-Q8 please reply...m not getting in google -- Posted via http://www.ruby-forum.com/. -- 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

[Rails] Re: activerecord variable apart from member

2010-10-21 Thread Rahul J.
of the functionality and you have to build your own over that, instead you doing everything from scratch. After learning ruby rails more and more, i found that the best is to go with the defaults/functionality provided by the language. Thanks, Rahul -- Posted via http://www.ruby-forum.com

[Rails] activerecord variable apart from member

2010-10-17 Thread Rahul J.
Hi, I have a table with a field of user_id. In find , i had created a join on user table to retreive the username as: @question = Question.find(params[:id], :select=questions.*, users.username as username,:joins= inner join users on users.id = questions.user_id); I had created an instance

[Rails] Re: activerecord variable apart from member

2010-10-17 Thread Rahul J.
i specify the fields that are not in model but are retrieved through sql to be stored in some instance variables. Thanks, Rahul -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post

[Rails] Re: Gem are missing

2010-05-18 Thread Rahul Chaudhari
. Then define: config.gem 'nameofgem', 'some options if needed' then rake gems:install and restart your server. Greetings Greg Am 17.05.2010 um 20:51 schrieb Rahul Chaudhari: Hi All, I am facing problem in installing gem for my application. I installed all application dependent gem using rake

[Rails] no such file to load -- thread (LoadError)

2010-05-18 Thread Rahul Chaudhari
to load -- thread (LoadError) from ./lib/rubygems.rb:9 from setup.rb:24:in `require' from setup.rb:24 I am trying to resolve it but I not found any thing Regards, Rahul P. Chaudhari -- You received this message because you are subscribed to the Google Groups Ruby on Rails

[Rails] Gem are missing

2010-05-17 Thread Rahul Chaudhari
level best but I not found any thing. Can you guys know what is reason? Regards, Rahul P. Chaudhari -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe

Re: [Rails] Re: validation message in other module

2010-05-06 Thread Rahul Mehta
frederick.che...@gmail.com wrote: On May 6, 4:13 am, Rahul Mehta rahul23134...@gmail.com wrote: please help on this is urgent... You haven't really provided any detail - you've only provided the controller code, but none of the stuff showing how you setup validations Fred -- You

Re: [Rails] Re: validation message in other module

2010-05-06 Thread Rahul Mehta
the validation of comment model is that possible... thanks rahul On Thu, May 6, 2010 at 9:30 PM, Frederick Cheung frederick.che...@gmail.com wrote: On May 6, 12:03 pm, Rahul Mehta rahul23134...@gmail.com wrote: hii Fredrick,, i have setup the in my comment module validates_presence_of

[Rails] file.exists not working

2010-05-05 Thread Rahul Mehta
not working please help. thanks rahul -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr

Re: [Rails] Re: file.exists not working

2010-05-05 Thread Rahul Mehta
/to/my/file) another thing: since you obviously left out some code and replaced it with ... we can't be sure your code is correct. are you? On 5 Mai, 08:23, Rahul Mehta rahul23134...@gmail.com wrote: hii %if File::exists?(../data/aritcal...@content.id

[Rails] Re: validation message in other module

2010-05-05 Thread Rahul Mehta
please help on this is urgent... On May 2, 2:54 pm, Rahul Mehta rahul23134...@gmail.com wrote: i am having one comment module and putted the two validation and i have putted or copy the code of the add form of this module to my public module and when user add comment from the public module

[Rails] validation message in other module

2010-05-02 Thread Rahul Mehta
. thanks rahul -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options

[Rails] want to destroy session on browser close for logout

2010-04-29 Thread Rahul Mehta
public folder and in that i have putted the following code session[:user] = nil but its not destroying the session.. please help.. thanks rahul -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email

Re: [Rails] want to destroy session on browser close for logout

2010-04-29 Thread Rahul Mehta
hiii thank for reply. can u help me how to run logout action of controller user on window.location.href.. thanks rahul On Thu, Apr 29, 2010 at 5:45 PM, Niels Meersschaert nmeersscha...@mac.comwrote: Ruby files aren't evaluated when they are in the Public folder, their contents are just

[Rails] Re: want to destroy session on browser close for logout

2010-04-29 Thread Rahul Mehta
hiii niels thank for reply. can u help me how to run logout action of controller user on window.location.href.. thanks rahul On Apr 29, 5:15 pm, Niels Meersschaert nmeersscha...@mac.com wrote: Ruby files aren't evaluated when they are in the Public folder, their contents are just returned

[Rails] Re: want to destroy session on browser close for logout

2010-04-29 Thread Rahul Mehta
is the url for logout but its not working why. please help.. rahul m trying to call my user controller logout action from onunload function On Apr 29, 5:33 pm, Rahul Mehta rahul23134...@gmail.com wrote: hiii niels thank for reply. can u help me how to run logout action of controller user

[Rails] paragraph styling problem

2010-04-28 Thread Rahul Mehta
hello ,, i have following content in my string .. str=phiii/p pnbsp;/p prahul mehta/p; i want to show first 150 character in a single line how i cant show it pleas help.. thanks rahul -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group

[Rails] Re: paragraph styling problem

2010-04-28 Thread Rahul Mehta
. On Apr 28, 10:55 am, Rahul Mehta rahul23134...@gmail.com wrote: hello ,, i have following content in my string .. str=phiii/p pnbsp;/p prahul mehta/p; i want to show first 150 character in a single line how i cant show it pleas help.. thanks rahul -- You received

Re: [Rails] want to set cron job for local machine

2010-04-16 Thread Rahul Mehta
hiii i have installed wget running it but how to run the particular url at 1:00 am every day. thanks rahul On Fri, Apr 16, 2010 at 11:47 AM, Bala bala.mutha...@gmail.com wrote: Rahul, try this 1. http://seogadget.co.uk/download-your-website-with-wget/ 2. http://mohammednv.wordpress.com

Re: [Rails] want to set cron job for local machine

2010-04-16 Thread Rahul Mehta
hii already tried these but can't find anything useful.. thanks On Fri, Apr 16, 2010 at 12:42 PM, Bala bala.mutha...@gmail.com wrote: try this as well. http://drupal.org/node/31506 On Fri, Apr 16, 2010 at 12:37 PM, Bala bala.mutha...@gmail.com wrote: try this rahul http

[Rails] need a feed aggregator

2010-04-15 Thread Rahul Mehta
Idea behind this site is to aggregate interesting blogs / discussions related to software testing field and keep it at one place. Have a look at the http://www.testingreflections.com/ , this site pretty much provides the similar functionality. The way it would work is - 1. In the admin system

[Rails] need a feed aggregator

2010-04-15 Thread Rahul Mehta
want to aggregate interesting blogs / discussions related to software testing field and keep it at one place 1. In the admin system I'll provide some information about the feed this i will do * Name for the feed * Address of the fee (XML file address on the internet) 2. Based on this

[Rails] habtm joining and getting data problem

2010-04-15 Thread Rahul Mehta
the content_master with tag_id=1,2 please suggest how to do in rails thanks rahul -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email

[Rails] Re: habtm joining and getting data problem

2010-04-15 Thread Rahul Mehta
Rahul, On Apr 15, 5:58 pm, Rahul Mehta rahul23134...@gmail.com wrote: i have two module both are joined byHABTMname are tags and content_masters i have content_master .id and i want to get all the content_masters which are with the same tag as that id has . if it is joined

[Rails] want to set cron job for local machine

2010-04-15 Thread Rahul Mehta
hiii alll, want to set the cron job on my local window installation is it possible and how , please help. thanks rahul .. -- 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 rubyonrails-t

Re: [Rails] Re: need a feed aggregator

2010-04-15 Thread Rahul Mehta
h, thanks for reply.. i have implement the simmons http://simonwoodside.com/ feed aggreegator and stored in the db the feed now want to set the cront job for than thanks rahul On Thu, Apr 15, 2010 at 8:28 PM, bseanvt bsea...@gmail.com wrote: check out feedzirra. ryan bates

Re: [Rails] want to set cron job for local machine

2010-04-15 Thread Rahul Mehta
hii m on windows and installed the wget exe , do you know how to run command in this. thanks .. rahul On Fri, Apr 16, 2010 at 11:16 AM, Bala bala.mutha...@gmail.com wrote: are you on windows or linux? On Fri, Apr 16, 2010 at 11:08 AM, Rahul Mehta rahul23134...@gmail.comwrote: hiii alll

[Rails] associated join data save problem

2010-04-13 Thread Rahul Mehta
.. please help this is urgent.. thanks rahul.. -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk

[Rails] Re: associated join data save problem

2010-04-13 Thread Rahul Mehta
# @content_master.promote = params[:promote] #...@metadata = @content_master.metadata.build(params[:metadata ]) respond_to do |format| if @content_master.save and it is still giving the same error.. please suggest the solution.. thanks rahul On Apr 13, 2:21 pm, K.Arunmohan k.arunmo

[Rails] Re: associated join data save problem

2010-04-13 Thread Rahul Mehta
, Rahul Mehta rahul23134...@gmail.comwrote: H, I have created one migration.. class TagContentMasterJoin ActiveRecord::Migration  def self.up     create_table 'content_masters_tags' do |t|      t.column 'tag_id', :integer      t.column 'content_master_id', :integer

Re: [Rails] Re: associated join data save problem

2010-04-13 Thread Rahul Mehta
this @content_master.tags.delete_all(params[:content_master] [:tag_ids]).each{|i|@content_master.tags Tag.find(i)} but it is giving error of wrong number of argument.. please help.. thanks rahul On Tue, Apr 13, 2010 at 4:13 PM, K.Arunmohan k.arunmo...@gmail.com wrote: changing from id to ids will get assigned value

[Rails] not getting validation error message

2010-04-11 Thread Rahul Mehta
in other controller any body can help me on this .. thanks rahul -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email

[Rails] Re: Rendering a Partial as an Alternative

2010-04-11 Thread Rahul Mehta
Hi Anthony , Thanks for reply, its good to know that exception handling in rails is done like this. thanks Rahul On Apr 10, 2:05 pm, Rahul Mehta rahul23134...@gmail.com wrote: Hi Anthony, % begin %   %= render :partial = 'custom' % % rescue ActionView::MissingTemplate %   Default % end

[Rails] Re: gem install rails (Errno::ENOENT) No such file or directory

2010-04-10 Thread Rahul Mehta
1)Go to http://rubyonrails.org/download that is official download page for ruby on rails. 2)First download ruby. For windows it is one click installer package just download it and double click it and follow installation wizard. 3)Download ruby gems from same page, extract it and

[Rails] Re: Rendering a Partial as an Alternative

2010-04-10 Thread Rahul Mehta
Hi Anthony, % begin % %= render :partial = 'custom' % % rescue ActionView::MissingTemplate % Default % end % why this begin and end are used what is mean by % rescue ActionView::MissingTemplate % can you tell me On Apr 10, 11:19 am, Anthony Crumley anthony.crum...@gmail.com wrote: Doug,

[Rails] ActionController::SessionRestoreError

2010-04-10 Thread Rahul Mehta
#77 raised: Session contains objects whose class definition isn\'t available. Remember to require the classes for all objects kept in the session. (Original exception: #{const_error.message} [#{const_error.class}]) thanks rahul -- You received this message because you are subscribed to the Google

[Rails] Re: ActionController::SessionRestoreError

2010-04-10 Thread Rahul Mehta
: tdnbsp;%= link_to 'Destroy', content_master, :confirm = 'Are you sure?', :method = :delete %/td 78: /tr 79: % 80: @dd=ContentMaster.find(:all,:conditions=parent_id=#{content_master.id}) On Apr 10, 3:31 pm, Rahul Mehta rahul23134...@gmail.com wrote: Hiii created new application from old

[Rails] Re: ActionController::SessionRestoreError

2010-04-10 Thread Rahul Mehta
i havent used session , is it due to plugins i have used and not installed in new app. for that what i need to do.. On Apr 10, 3:40 pm, Frederick Cheung frederick.che...@gmail.com wrote: On Apr 10, 11:32 am, Rahul Mehta rahul23134...@gmail.com wrote:   ActionController::SessionRestoreError

[Rails] Re: ActionController::SessionRestoreError

2010-04-10 Thread Rahul Mehta
it is giving this error where %=flash[:message]%br flash message is given pls help... On Apr 10, 4:01 pm, Rahul Mehta rahul23134...@gmail.com wrote: i havent used session , is it due to plugins i have used and not installed in new app. for that what i need to do.. On Apr 10, 3:40 pm

Re: [Rails] Re: ActionController::SessionRestoreError

2010-04-10 Thread Rahul Mehta
Thanks Fred My problem is solved by clearing history of browser. thanks rahul On Sat, Apr 10, 2010 at 5:16 PM, Frederick Cheung frederick.che...@gmail.com wrote: On Apr 10, 12:01 pm, Rahul Mehta rahul23134...@gmail.com wrote: i havent used session , is it due to plugins i have used

[Rails] problem in giving subdomain to one controller

2010-04-09 Thread Rahul Mehta
hello i want to give subdomain to one controller how can i give it ... thanks rahul -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group

[Rails] Re: problem in giving subdomain to one controller

2010-04-09 Thread Rahul Mehta
m having one controller public on which my site is running and want one controller content_masters to run on my sub domain if you can help pls help urgent.. On Apr 9, 10:59 am, Rahul Mehta rahul23134...@gmail.com wrote: hello i want to give subdomain to one controller how can i give

[Rails] want to implement authetication of user id and password for my cms

2010-04-09 Thread Rahul Mehta
any good script or plugin to implement user id and password authentication . thanks rahul -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from

[Rails] rss feed

2010-04-02 Thread Rahul Mehta
/rss+xml title=RSS href=url/ to/rss/file / but to put in the folder what to do i dont know please help. thanks rahul -- 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 rubyonrails-t...@googlegroups.com

[Rails] Re: rss feed

2010-04-02 Thread Rahul Mehta
its not giving useful result dear .. On Apr 2, 2:47 pm, Lasse Bunk lasseb...@gmail.com wrote: Rahul, Tryhttp://www.google.com/search?q=rails+rss+feed /Lasse 2010/4/2 Rahul Mehta rahul23134...@gmail.com hi all, for my project need to generate rss feed and place in folder what to do

[Rails] Re: rss feed

2010-04-02 Thread Rahul Mehta
hii lasse i have read this article but how to place rss feed to folder.. thanks for reply.. On Apr 2, 3:25 pm, Lasse Bunk lasseb...@gmail.com wrote: http://paulsturgess.co.uk/articles/show/13-creating-an-rss-feed-in-ru... 2010/4/2 Rahul Mehta rahul23134...@gmail.com its not giving useful

[Rails] paper clip plugin error

2010-04-01 Thread Rahul Mehta
coming this error in my paper clilp plugin m getting this error * Photo C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ hrithik_roshan1,3756,1.jpg is not recognized by the 'identify' command. * Photo C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ hrithik_roshan1,3756,1.jpg is not recognized by the 'identify'

[Rails] Re: validating message

2010-03-30 Thread Rahul Mehta
Can Any Body Help me... On Mar 28, 2:38 am, sachiguns sachig...@gmail.com wrote: im also new to rails if u have good materials to learn rails please tell me send me links thanks... On Mar 27, 5:33 am, Rahul Mehta rahul23134...@gmail.com wrote: Hi all, I'm new here. However, I'm so

[Rails] Re: validating message

2010-03-30 Thread Rahul Mehta
please paste your update code again? On Tue, Mar 30, 2010 at 3:16 PM, Rahul Mehta rahul23134...@gmail.comwrote: Can Any Body Help me... On Mar 28, 2:38 am, sachiguns sachig...@gmail.com wrote: im also new to rails if u have good materials to learn rails please tell me send me links

[Rails] Re: validating message

2010-03-30 Thread Rahul Mehta
%= error_messages_for :content_master %, if content_master is validated in your controller if it does not work, could also please paste the code in the controller On Tue, Mar 30, 2010 at 3:21 PM, Rahul Mehta rahul23134...@gmail.comwrote: % form_tag 'create', :multipart = true do

[Rails] Re: validating message

2010-03-30 Thread Rahul Mehta
in the controller On Tue, Mar 30, 2010 at 3:21 PM, Rahul Mehta rahul23134...@gmail.comwrote: % form_tag 'create', :multipart = true do % %= error_messages_for :content_masters %  p    %= label_tag :title %    %= text_field_tag :title %  /p in my model m using  validates_presence_of(:title

[Rails] Re: error in uploading file(help me urgnt)

2010-03-29 Thread Rahul Mehta
hi yong i got the same proble and solved it , you can use in form tag uploadfile instead of uploadFile and in render file : use #{root_url}/app/view/--path hope you will solve it .. thanks rahul On Mar 28, 10:32 pm, Yong Gu zerogy...@gmail.com wrote: Did you add uploadFile to route.rb

[Rails] Re: Array data type----What can Be Done

2010-03-28 Thread Rahul Mehta
you can take varchar dear i hope it will work.. On Mar 28, 1:38 pm, kevid alumsimport...@yahoo.ca wrote: Hi all, please i have an array in my rails application (for example; $x = [23, how, this,56, you, nice])  I want to store it in a mysql database as a SINGLE RECORD  with a name . thus

[Rails] Re: displaying contnet

2010-03-27 Thread Rahul Mehta
i have use tiny mce and by using this it is creating code p 1st line /p p 2nd line /p and it is showing accordingly.. thanks On Mar 27, 3:57 pm, Rajkumar Surabhi li...@ruby-forum.com wrote: hi all, i am using text filed to store the database using textarea. i have entered the data line by

[Rails] validating message

2010-03-27 Thread Rahul Mehta
Hi all, I'm new here. However, I'm so happy because I got Ruby on Rails to work on my host. Now there's just a problem with displaying validation error message , in my view i have used the form_tag code is as follow % form_tag 'create', :multipart = true do % %= error_messages_for

[Rails] Re: validating message

2010-03-27 Thread Rahul Mehta
.. thanks rahul On Mar 27, 5:42 pm, Lasse Bunk lasseb...@gmail.com wrote: Hi Rahul, The symbol (:content_masters) in error_messages_for should be the name of a variable, so if you wanted to display error messages for at variable called @user, you'd call it like

[Rails] Re: validating message

2010-03-27 Thread Rahul Mehta
Hii Yong, As i have given the syntax above would you tell me what is the syntax i used because i have tried so much but its not working... thanks rahul On Mar 27, 6:01 pm, Yong Gu zerogy...@gmail.com wrote: Hi,   I think you should use *error_message_on(object, method)* if you want

[Rails] Problem in accessing SSL enabled mail server

2010-01-22 Thread Rahul Chaudhari
Hi, I have two different mail server servers. Both are SSL enabled. When I try to read mail from my mail box I got following error on 1 machine, Errno::ECONNREFUSED: Connection refused - connect(2) from /usr/lib/ruby/1.8/net/smtp.rb:551:in `initialize' from

[Rails] ruby on rails application help.

2010-01-01 Thread Rahul Khobragade
Hello Sir, I am student wants to learn ruby on rails programming and want to become ruby on rails programmer. after installing ruby and installing rails through command line gem install rails --remote and after creating application as ruby script\generate.it shows message webrick server started

[Rails] Re: rails 2.1.2 to rails 2.2.2 now I get mysql issues

2009-06-16 Thread Rahul Patel
jasoo24 wrote: Here is the solution: 1) First, gem install mysql. If this doesn�t help continue� 2) Copy libmysql.dll from InstantRails (see below) to your mysql directory (C:\mysql\bin\). Restart your computer and it should be working. InstantRails libmysql.dll: