search for: net88

Displaying 10 results from an estimated 10 matches for "net88".

Did you mean: net78
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 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 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 Sep 14
5
rjs error TypeError: element.getElementsByTagName is not a function in rails 3+jquery
hi, i am using rails 3.0.10 i am trying with sample application for searching data from table and updating my search.html.erb file is <%= form_for (@employee) do |s|% <div id ="search_details"> <%= s.text_field :name%> <%= s.text_field :emp_id, :onfocus => ''sal(document.getElementById(''employee_name'').value);''%>
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
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 09
0
Mysql::Error error in acts as solr plugin
hi, i am using acts_as_solr in plugin, in my table i got three columns emp_id, name, experience. when i tried to run my application i got following error "Mysql::Error: Unknown column ''employees.id'' in ''where clause'': SELECT `employees`.* FROM `employees` WHERE (employees.id in (NULL))" in my table i dont have column "id", but
2011 Dec 15
0
how to find table name from result in act as solr search
Hi, i am using multi_solr_search in act as solr and i am getting results from two table and i what know from which table data is coming while running in docs loop, is there any possible way to find table from which data is comming? thaks, -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 Dec 16
0
eroor with acts as solr pagination undefined method `paginate_all_by_solr'
Hi, i have tried to paginate search result of acts as solr by using following like http://henrik.nyh.se/2007/06/using-will_paginate-with-acts_as_solr and i am getting following error undefined method `paginate_all_by_solr'' for #<Class:0xb4fa5f0> could any one provide me solution pls, thanks, -pab -- You received this message because you are subscribed to the Google Groups
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 --