similar to: rjs error TypeError: element.getElementsByTagName is not a function in rails 3+jquery

Displaying 20 results from an estimated 3000 matches similar to: "rjs error TypeError: element.getElementsByTagName is not a function in rails 3+jquery"

2011 Sep 09
2
acst_as_solr error
hi, i am using https://github.com/mattmatt/acts_as_solr it shows the following error "undefined method ''each'' for " for this results = Employee.find_by_solr(@id) results.each do |emp| puts emp.id end where plugin does not contains "each" method in acts_as_solr/libs/ search_results.rb so for me each is not working with ActsAsSolr::SearchResults
2011 Aug 31
9
undefined method `model_name' for NilClass:Class in rails 3.0.0
Hi, i got search which shows following error ActionView::Template::Error (undefined method `model_name'' for NilClass:Class): 1: <%= form_for(@employee) do |e| %> 2: EMP ID<%= e.text_field :id %><br> 3: <%= e.submit ''search'', :controller => ''employees'', :action => ''search1'' %>
2011 Sep 08
8
acts_as_solr problem ActsAsSolr::SearchResults:
hi, i am using acts_as_solr plugin when i tried with search by def search puts "#####################" # ids = params[:name] @id = params[:query] @emp = Employee.find_by_solr(@id) puts "------------------------------#{@emp}" respond_to do |format| format.html{render :action => ''search''} format.xml end
2011 Sep 21
5
problem with submit button in rails 3
hi, i am using <%= s.submit ''Product save'' %> when i click it, following error appears " Routing Error uninitialized constant ProductsController" could any one provide me solution ? thanks, -pab -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send
2011 Oct 17
1
problem with auto increment in rails 3
hi, i am tried to use auto increment field for user_id field but it fails to do it create_table :users,:id => false,:primary_key => ''user_id'', :force => true do |t| t.integer :user_id,:auto_increment => true, :null => false t.string :name t.string :email t.timestamps end is there any syntax to do auto increment in rails
2007 Oct 03
1
Form getElementsByTagName("*") is empty
I''m having problems serializing a form. I''ve narrowed the problem down so that if I break in Prototype''s getElements function, and trace into the $A that makes an array of the return of $(form).getElementsByTagName("*"), the iterator doesn''t contain any elements. However, looking at the form variable in FireBug shows all the elements I''d
2011 Dec 15
1
problem with starting mongrel gem
Hi, I have installed mongrel gem and when i tried to start mongrel_rails start its causing me following problem mongrel_rails start ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... Requiring REXML /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.10/lib/ active_support/dependencies.rb:239:in `require'': no such file to load --
2012 Jun 13
2
Samba 64 bit compilation
Which platform? If on Solaris 10 sparc, GCC (either from Sun or sunfreeware.com) should be 64-bit by default. GCC from Sunfreeware for Solaris 10 x86 will compile 32-bit by default. For Solaris, you are better off using Sun Studio and Dmake. Actually, you are better off just using the compiled version from Oracle/Sun. On 06/13/12 02:08, prabu.murugan at emc.com wrote: > Hi, > >
2012 May 17
3
Samba compilation issue
On 05/17/12 11:15, prabu.murugan at emc.com wrote: > > Hi, > > As a security concern we are upgrading samba to 3.4.17. > > I tried all possible option to compile samba 3.4.17 on Solaris 10_U10. > But it is not going through. > > > > User requirement is to compile samba 3.4.17 to support their > application. 3.4.17 is working on Solaris 9 and Solaris 10_U5. But
2010 Jun 16
4
firebug jQuery undefined message in rails app
In rails app, I add the following line of code in application.js and I get jQuery is not defined in firebug console. In application.html.erb, I have the following: <script type="text/javascript" src="../javascripts/application.js"></script> <script type="text/javascript" src="../javascripts/jquery-1.4.2.js"></script> and I installed
2010 Jun 08
8
rails, ajax, json, and script
Could someone please demonstrate the code to send both json (or xml) AND javascript (to be executed) in a single Ajax request? Is this even possible? -- 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
2012 May 16
7
Rails 3.1.0 cannot connect to sqlite database on Mac Lion
I''m running Rails 3.2.3 on Mac Lion with sqlite 3.7.7 and ruby 1.9.3p125. I need to back down rails to 3.1.0 for a project but when I do that a simple index page give me a ActiveRecord::ConnectionNotEstablished error. Rails 3.2.3 works, 3.1.0 not. Any ideas? Just to show you it''s nothing fancy.... Gem file is only: source ''https://rubygems.org'' gem
2012 May 15
1
Samba 3.4.17 -Solaris10_U10- make- Fatal error with talloc
Hi, This is Prabu. I am trying to compile samba on Solaris 10_U10. I have posted the same in bugzilla. https://bugzilla.samba.org/show_bug.cgi?id=8939 User requirement is to compile samba 3.4.17 to support their application. 3.4.17 is working on Solaris 9 and Solaris 10_U5. But not on Solaris 10_U10. ./configure and make gives error related to talloc. I have set the PKG_CONFIG_PATH. It is not
2010 Jun 21
4
javascript tabs not working in rails app
This is in application.html.erb: <script type="text/javascript" src="../javascripts/application.js"></script> <script type="text/javascript" src="../javascripts/jquery-1.4.2.js"></script> <div id="content"> <%= yield :tabContent %> </div>
2009 Jun 09
1
Cairo Package Installation
I am trying to install the Cairo package on a linux machine, the Cairo package did not install correctly (could not find cairo.h), I am new to R and linux any help on the installation would be great. Below are output from trying to install the Cairo package, thought this might help. > install.packages("Cairo") Warning in install.packages("Cairo") : argument
2011 Dec 30
5
Session timeout in rails 3
Hi all, Iam having a requirement where a user who has logged in to my site is idle for 5 minutes, then they should automatically redirect back to login page. Im using devise. But its timeoutable is not working. I also looked at using session in config. It also dint help. Please anyone help me in this. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are
2011 Aug 09
4
Nesting select and text_field in radio_button
I''m creating my first Rails app and need an idea creating forms. I have Meeting model with place attribute. I want to have two fields for Meeting.place = one would be select with places from other meetings or text_field if the place is being used first time. User would be selecting radio_button of which field he has used. So is there any way to nest select and text_field within 2
2009 May 31
7
[mapstraction commit] r11 - Added functionality to automatically load scripts needed.
Author: robert.moran Date: Sun May 31 11:13:23 2009 New Revision: 11 Modified: trunk/source/mxn.core.js trunk/source/mxn.js trunk/source/mxn.yahoo.core.js trunk/tests/index.htm Log: Added functionality to automatically load scripts needed. Allowed mapstraction default constructor to have provider omitted (will use first loaded provider). Minor change to yahoo implementation -
2006 Jun 28
3
Add to enumerable
This might seem like a really daft question, but I couldn''t find an answer anywhere. How do you add something to an enumerable object? Something like var first = $A(getElementsByTagName(''td'')); var second = $A(getElementsByTagName(''tr'')); first.PUSH(second); where the PUSH is something unknown. am i supposed to use inject here in some way? Andreas
2009 Feb 18
14
guides on css strategy
I''m having to design the UI to a small site, and that means dabbling in css. I''ve never been able to get any kind of decent idea as to how to decide on classes and id-ing. I''ve had a sniff around the internet without success: people seem to be as clueless as me. I''ve even examined the css/markup of a few sites and it hasn''t been enlightening. Does