[Rails] Re: Problems while moving to a new-alike method
Thanks Fred :) Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Problems while moving to a new-alike method
Hi, I have a licenses controller. Other than a new method, i have a new_trial_license method. The link implementation for the new_trial_license method looks like: -- <%= link_to 'New Trial license', :action => "new_trial_license" %> The link shows up as i expected http://localhost:3000/licenses/new_trial_license But it causes some error when i try to move to the page. The traceback is: --- ActiveRecord::RecordNotFound in LicensesController#show Couldn't find License with ID=new_trial_license RAILS_ROOT: /home/vimal/Projects/license_manager/ Application Trace | Framework Trace | Full Trace /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ base.rb:1528:in `find_one' /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ base.rb:1511:in `find_from_ids' /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ base.rb:590:in `find' app/controllers/licenses_controller.rb:22:in `show' Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] rendering images through JS in rails
Hi, I am newbie to rails. I use an jquery ajax function to get some json data and have to render an image according to the result. say -- HTML: -- JS: if (true){ $('#status').html(<%=IMAGE1%>); } else{ $('#status').html(<%=IMAGE2%>); } --- I've tried a lot of way but couldn't come to a solution. Please help. Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: reset_sessions how to?
I have tried it before and got the same as you said. >You can >invalidate it by changing your session's secret (make sure you deal >with the exception that gets raised in those cases if you don't want >to confuse your users). Pretty much a manual process which ever store >you use. Anyway the above suggested solution is only possible if Ctrl-c interrupt is trapped and then routed to the proceedure Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: reset_sessions how to?
> Have you tried: > > rake db:sessions:clear it says -> uninitialized constant ActiveRecord I am not using active_record for storing session information. it is the cookie store session as Fred has suggested. Would i be able to trap the Ctrl-c interrupt and then call reset_session? But i dont know the proper way to do it --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: reset_sessions how to?
Hi, Thanks for pointing it out. I'm sorry, sometimes i ask some stupid questions. since my english is weak . Forgive me :) My answer is yes, the session prevails though i kill the server. How can i overcome this by clearing the session information each time the rails server is killed. Thanks and Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] reset_sessions how to?
Hi, I am maintaining sessions for storing user informations. When i logout i clear the session using reset_session. Will the session be available if i kill the rails server? If yes, Why does this happen and how can i overcome this by resetting the session? Please give me some suggestions, since i am stuck with this for a long time Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] How to reset session if rails server is killed abruptly using Ctrl-c
Hi, I have some user informations stored in the session. If i use Ctrl-c to kill the rails server and restart the server, the informations remains in the session I want the session informations gone, once i restart the server Any suggestions? Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Storing information in session in rails - How to ?
Thanks for your suggestions. But i need some additional suggestions, as i am a newbie in both rails and xmlrpc I have an xmlrpc client in ruby stored inside the controllers directory and guessing how to get the connection and store it in a session. All i want to do is, 1) Establish a connection only once and store the connection variable in session like --> session[:server_conn] = @server_conn 2) Request a cookie after authentication ad store that in session like --> session[:cookie] = @cookie So that i can access the session variables in other controllers too Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Log in and log out help
Hey, i was wondering if anyone could tell me how to do a login and logout page for a rails application? thanks -- 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 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 -~--~~~~--~~--~--~---
[Rails] Storing information in session in rails - How to ?
Hi, I am a rails newbie and i need to store some info. in the session, so that i can use it in any controllers when needed. in config/enviroment.rb, i have, -- config.action_controller.session = { :session_key => '_xxx_ui_session', :secret => '70ec05c894289359662252cdfd64e359822861bfd85626d0cc0699b4cef6ab409861e5dce5c9359918cedf4f58fa6fb73e2697ddb32d5ef4bd 4076cf31c1af8d' } -- In application.rb, i have, class ApplicationController < ActionController::Base require 'xmlrpc_server' @hostname = "127.0.0.1" @port = 8080 @server = ServerProxy.new(@hostname, @port) session[:server] = @server ===> i get the error for this line end But i keep on getting the error Symbol as array index Am i going wrong anywhere, please suggest Thanks and Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Tutorials
http://guides.rubyonrails.org/ is good, check it out Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Getting Rails to send email
Hi Hickman, Check out the documentation in http://guides.rails.info/action_mailer_basics.html this is the default module for Rails. I am using ruport(Ruby reports) to send email gem install ruport gem install ruport-util >> require 'rubygems' >> require 'ruport' >> require 'ruport/util' >> r = Ruport::Report.new >> r.add_mailer :default, :host => "localhost", :address => "x...@xxx.com" >> r.send_to(email_id) do |mail| >>mail.subject = "Some subject" >>mail.text = "Some text" >>mail.html = "Hello World" >> end For further info. check ruport documentation Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: - 2.3.2 uninitialized constant ApplicationController
Thanks for the reply Conrad :) Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: - 2.3.2 uninitialized constant ApplicationController
Cool! Thanks Noria... Is the rails version 2.3.2 an edge version? Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] - 2.3.2 uninitialized constant ApplicationController
Hi, I just migrated from rails 2.2.2 to 2.3.2 The rails app was running fine until i migrated I checked for the application.rb in the controller folder and its there Any suggestions, why this is happening??? Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Converting Array to String in a model using before filters
Thanks again Fred to make me try this out... I got it after analysing ur reply further So the trick is not to add a attr_accessor for lists_selected Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Converting Array to String in a model using before filters
Thanks again Fred to make me try this out... I got it after analysing ur reply further So the trick is not to add a attr_accessor for lists_selected Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Converting Array to String in a model using before filters
So, is there anyother way to carry this out of the box Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Converting Array to String in a model using before filters
> I have a list coming in a field like :selected_lists => [1,2,3,4] > from a form Correction :selected_lists => [1,2,3,4] to -> :lists_selected => [1,2,3,4] Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Converting Array to String in a model using before filters
Hi, I have a list coming in a field like :selected_lists => [1,2,3,4] from a form while storing it in a database i need to join this list into a string so then in my model class, ___ 1) Added a filter before_save :convert_array_to_string 2) Added an attr_accessor :selected_lists ___ def convert_array_to_string self.lists_selected = self.lists_selected.join(",") puts self.lists_selected return true end -- so that before saving i call a function to format the array to string and store it using attr_accessor method I printed the "self.lists_selected" and i got "1,2,3,4" as the result I thought this would do my job I am wondering why 'nil' is stored in the table. Please help me out off this guys. Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Implementation checkbox array in rails--How to?
Huh :-| Thanks very much Fred Got it at last... :-) Regards, VImal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Implementation checkbox array in rails--How to?
Hi, I am having a nested array like AVAIL_LISTS = [["Purchased User, 1], ["Downloaded User, 2"]]. In the form i have to allow to check any options applicable so, in view i have: -- <% for list in AVAIL_LISTS %> <%= form.check_box("lists_selected[]", {}, list[1]) %> <%= form.label list[0] %> <% end %> =>i guess this should give Purchased User Downloaded User == I dont have a field column for lists_selected So, in model i have an attribute accessor like -- attr_accessor :lists_selected == But i am getting an error like, -- undefined method `lists_selected[]' for # == please suggest, am i going wrong anywhere, i am getting confused with formhelpers docs as most of the examples are portrayed with checkbox_tag Thanks n Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Rails Magazine Issue #1 - Free Download
Cool :) I think i'm gonna check it out Congrats! Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: storing and retrieving arrays in mysql using rails
Cool suggestion :) Thanks! Sumanth --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] storing and retrieving arrays in mysql using rails
Hi, I have a multiple checkbox of values 1 to 7 for selecting weekdays. What is the possibility of storing the selected weekdays array in mysql and what type of field should i create in the table for storing the array. Any suggestions??? Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Ideas for implementing an UI for set combinations in rails
Hi, Iam rails newbie. I have to implement a UI design for 3 tables based on set theory. I thought a lot of a lot of ideas in the past few days but nothing seemed to fulfil my necessity Say i have tables a, b and c I should be able to do like a n b a u b b - a (b - a) n c etc If any web developers well versed in ui designs out there have some suggestions of doing it, i would appreciate it :) Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Protecting an associated record from destroying -- How To and explanation?
Hi, I have a model "Pattern" with subject and body as columns and another "Schedule" with date, time and pattern_id(for inserting an association to Pattern table) I had defined it as --- class Schedule < ActiveRecord::Base has_one :pattern end --- class Pattern < ActiveRecord::Base belongs_to :schedule end --- So whenever you need to create a schedule u need to a pattern also. Then i removed the pattern which was used by a schedule. How can i avoid this action. I wonder then whats the reason of having these relationships Is there any additional things reqd. for me to do Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Importing application constants into models and backgroundrb workers - How To?
Cool.Thank you. :) Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Importing application constants into models and backgroundrb workers - How To?
Hi, I have an app_constants.rb file for defining my constants. I need the same constants for checking conditions with my models and backgroundrb workers. When i tried require "app_constants" in my models files it doesn't suggest any errors but i was unable to use the constants either Any suggestions??? Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Retrieving all values of the column from the table
I tried it Fred,but it didn't work Instead this did the job for me class Pattern def self.get_all(field) @patterns = Pattern.find(:all) @patterns.collect do |pp| pp[field] end end end Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Retrieving all values of the column from the table
Hi, I have a function in my model like - class Pattern def self.get_all(field) @patterns = Pattern.find(:all) @patterns.collect do |pp| pp.field end end end - so that whatever field i give to the function, it returns all the column values in an Array I dont know whether i am doing it right or not Any suggestions Thanx, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] before_filter - How to?
Hi, i have functions for which i use before_filter --- before_filter :find_customer, :except => [:index, :new, :create] --- Do i need to use another before_filter for another set of functions like --- before_filter :countries_list, :only => [:new, :edit] --- Are there any ways to pin both into a single implementation Regards, Vimal Das --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Problem with backgroundrb!!!
Finally i got it after 2 days uninstalling and installing again and again did the job for me still i am unable to figure out the problem which caused it --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Problem with backgroundrb!!!
Hi, Iam getting another error, this time it looks like --- /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- log_worker (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in `require' from /usr/lib64/ruby/gems/1.8/gems/packet-0.1.14/bin/ packet_worker_runner:35:in `load_worker' from /usr/lib64/ruby/gems/1.8/gems/packet-0.1.14/bin/ packet_worker_runner:26:in `initialize' from /usr/lib64/ruby/gems/1.8/gems/packet-0.1.14/bin/ packet_worker_runner:47:in `new' from /usr/lib64/ruby/gems/1.8/gems/packet-0.1.14/bin/ packet_worker_runner:47 from /usr/bin/packet_worker_runner:19:in `load' from /usr/bin/packet_worker_runner:19 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- mailing_worker (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in `require' from /usr/lib64/ruby/gems/1.8/gems/packet-0.1.14/bin/ packet_worker_runner:35:in `load_worker' from /usr/lib64/ruby/gems/1.8/gems/packet-0.1.14/bin/ packet_worker_runner:26:in `initialize' from /usr/lib64/ruby/gems/1.8/gems/packet-0.1.14/bin/ packet_worker_runner:47:in `new' from /usr/lib64/ruby/gems/1.8/gems/packet-0.1.14/bin/ packet_worker_runner:47 from /usr/bin/packet_worker_runner:19:in `load' from /usr/bin/packet_worker_runner:19 --- gem versions --- packet (0.1.14) rails (2.2.2) chronic (0.2.3) backgroundrb (latest) via svn co http://svn.devjavu.com/backgroundrb/trunk --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Problem with backgroundrb!!!
I corrected it myself, the directory has to be named to backgroundrb inside the vendor/plugins --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Problem with backgroundrb!!!
Hi, I installed backgroundrb. I have done everything documented (in http://backgroundrb.rubyforge.org/) but, i am still unable to figure out, the kind of error i get while trying to start the backgroundrb server /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- bdrb_config (LoadError) I am using rails 2.2 in centos 5 could somebody help me out with this regards, Vimal --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Problem with select_tag
I am a little busy for better understanding http://guides.rails.info/form_helpers.html --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: blacklist
I haven't used blacklist either I just traced the error in ur code --- c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- RedCloth (MissingSourceFile) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb: 27:in I guess the blacklist gem needs RedCloth(a dependency) too Just try to restart the server and check for errors.i think there wont be any other additional code Try to get the follow through in the Blacklist documentation correct --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: form_remote_tag
do |form| --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Q: find :include
what exactly do you want to do??? for me it looks like you want all the posts for the particular user then it should be @posts = User.posts --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: blacklist
whenever u r unfamiliar with the gem try: gem search RedCloth --remote gem install Redcloth --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: blacklist
install the RedCloth plugin using gem --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Problem with select_tag
use it as a symbol :organelle rather than as a string "organelle" make sure the :organelle field is made available in ur model seqfeature --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Problem with select_tag
i guess the select tag should be represented as form.select_tag --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] i18n Rails version compatibility?
Hi, I just want to know whether i18n is compatible with Rails-2.1 I am a newbie in rails, i heard of globalisation plugin also. So which one is the best to work with and if any other suggestions, i would appreciate that In love with Ruby and Rails --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: again and again: no such file to load -- mysql
Have you ensured whether your mysql services are running Regards, Vimal --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---