similar to: Mysql::Error: Lock wait timeout exceeded; try restarting transaction

Displaying 20 results from an estimated 1000 matches similar to: "Mysql::Error: Lock wait timeout exceeded; try restarting transaction"

2009 Jul 13
12
.html/.html.erb/.rhtml to PDF
Hello All, I wanted to convert .html file into .pdf. is there any rails plugin ?? Thanks, Sandip R~ -- Ruby on Rails Developer http://sandip.sosblog.com http://funonrails.wordpress.com www.joshsoftware.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2009 Sep 29
10
rails 2.3.3 upgrade shows error
You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occurred while evaluating nil.<< any ideas ? Application works fine with rails 2.1.0 Sandip -- Ruby on Rails Developer http://funonrails.wordpress.com www.joshsoftware.com http://brandpotion.com (Latest project released) --~--~---------~--~----~------------~-------~--~----~
2009 Jun 05
15
Rails Code Indentation
Hi All, Rails code must be readable, formatted and well indented. I wanted to do indent code in my previous projects. Is there any built in rails plugin/gem that can help me to indent my existing code. Any ideas will be really appreciated ! NOTE: Please don''t suggest editor plugins. Thanks & Regards, Sandip R~ -- Ruby on Rails Developer http://sandip.sosblog.com
2009 Jun 05
6
rails 2.3.2
Hi all, I am using rails v.2.3.2 and if I put following line to my ApplicationController: include LoginSystem and I moved my login_system.rb to lib folder: module LoginSystem protected def is_logged_in? @logged_in_user = User.find(session[:user]) if session[:user] end def logged_in_user return @logged_in_user if is_logged_in? end def logged_in_user=(user) if
2011 Mar 18
3
webapplications with rails+geokit
Hi all Anybody knows any webapplictions presently using geokit plugin with rails 2.x or 3.x ? If yes pls send me the url pls. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2012 Feb 01
12
date validation in rails 3
consider scenario, User model with name, birth_date fields (here birth_date is not mandatory field) inside view form birth_date is assigned as ''31/31/1985'' which is invalid ideally user object should be invalid and while save raise an error on birth_date field but that''s not happening and user object gets saved with birth_date as blank which is completely misleading.
2009 Jun 08
3
Will Pagination links getting not behaving as i wanted.
Hello All, I have will pagination links in index view which works fine. but when i performing some other action and replacing list view that time pagination links i am supposed to be for index action. but they are not......links goes to last performed action. You have any idea how to fix this problem ? NOTE: i am updating list after creation of resource record that time pagination links goes
2009 Jun 04
4
ActionController::InvalidAuthenticityToken & :before
I have a form that submits search criteria and while it is processing I wanted to use a js function to indicate: <% form_remote_tag :update => ''mainbody'', :url => {:action => ''search''}, :before => "wait_message(''mainbody'',''S E A R C H I N G'')" do%> wait_message() executes but then when
2009 Sep 09
4
Tagging recommendation - acts_as_taggable_on_steroids best?
hey all What''s the most popular tagging plugin/gem these days? Is it acts_as_taggable_on_steroids? Or is something else better? I''d like to basically replicate flickr''s tagging as much as possible, eg allowing multi-word tags to be denoted by quotes or seperated by commas. thanks max -- Posted via http://www.ruby-forum.com/.
2009 Jul 28
1
[PAPERCLIP] How to avoid image crop in paperclip styles
Hello All, I am using rails paperclip plugin for image upload. my image has different styles and the original image gets cropped while processing styled image. I dont want image to be cropped. Is there any way ???????? Thanks, Sandip R~ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2009 Nov 01
1
please help - complicated polymorphic association
I am trying to build a shared-appointment system, where users can subscribe to appointments and be updated whenever changes are made to them. I have three objects in this system, appointments, users, and subscribers. Subscribers are a polymorphic object like so: class Subscriber < ActiveRecord::Base belongs_to :user belongs_to :subscribable, :polymorphic => true end The tricky part is
2007 Dec 28
3
Any help on SMS and payment gateway in India
Hi, I am developing a ROR application in India, wonder if anyone can suggest good MS and payment gateways + any help on how to integrate them in my application. Also, where do you host a ROR site in India ? Thanks atul -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2010 Mar 12
1
plugin path
I am a newbie of rails. Recently I stuck in using plugins. I guess I have problem to set the path to call the plugins under ../vendor/ plugins. I downloaded and install a grid plugin under ..\vendor\plugins. It has some stylesheets, js and css files. When my application code trying to use those styelsheets, js, it can''t find it. ActionController::RoutingError (No route matches
2011 Mar 10
8
How to install rails_tiny_mce in Rails2.3.10
I have tried followed the guide in https://github.com/sandipransing/rails_tiny_mce/tree/rails_2.x,but failed.I suggest the newest plugin in git://github.com/sandipransing/rails_tiny_mce.git only support Rails3.0.How to install in Rails2.3.10? -- 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
2010 Oct 22
0
Overriding to_s method of BIgDecimal
I am overriding to_s method of BigDecimal class as below and its working fine. Wanted to confirm is there any other better way to do this ? Thanks! 49 class BigDecimal 50 alias :old_s :to_s 51 def to_s 52 return to_i.to_s if eql? to_i 53 self.old_s 54 end 55 end -- sαη∂ιρ Rαηѕιηg --- blog www.funonrails.com twitter @sandipransing skype sandip.ransing -- You received
2009 Sep 10
2
Paperclip attachment to AWS - ActiveRecord::AssociationTypeMismatch
Hi, I have been trying to do this for a few days now and cannot figure it out. I would be very grateful is anyone can help me I am trying to upload an attachment to AWS, S3 using paperclip, however every time I keep getting this error: ActiveRecord::AssociationTypeMismatch in ProjectController#create_notice Graphic(#37649720) expected, got Tempfile(#27280470) RAILS_ROOT:
2010 Jan 04
3
Generate PDF
Hi ! I need to create some pdf from my application. I have a table people with a field address and I need to generate a pdf of label of each address ( I think 10 labels per page). The pdf can have around 500 pages. Which library should I use to do it ? I read some information about different library to generate pdf but I don''t know if all library are a good choice for generate
2014 Apr 02
3
Typeof for character vector in dataframe returns integer
Hi , I want to know is this behavior expected and why is that ? Need some help gender <- c("F", "M", "M", "F", "F", "M", "F", "F") > age <- c(23, 25, 27, 29, 31, 33, 35, 37) > df<- data.frame(gender,age) > typeof(df[[1]]) [1] "integer"
2020 May 18
2
Menu rotation
Hi, FrameBuffer has the option "fbcon=rotate:1". Could a similar functionality be implemented in the video driver (VBE?) that is used by Syslinux? Is it legal to copy that code from the FBCon portion into the Syslinux video driver portion? If so, where should I start looking? Thanks for all your help. SS On Fri, May 15, 2020 at 7:15 AM Jane Todoroski <jane.todoroski at
2006 Dec 12
1
Undefined symbol when trying to dyn.load a shared object
I hope that someone reading this list can offer some suggestions on how I can incorporate external C libraries in C functions that I want to call from R. I have gone through all of the documentation, help files and mailing list archives and have not been able to find a satisfactory solution. I have constructed a simple example of the problem, since my "real" program is much more