Displaying 20 results from an estimated 70000 matches similar to: "Web Search and filter"
2012 Aug 01
1
Rails app structure of search portal
Hello,
I want to create an google-like app with one search box, where you can send
a request to different legacy databases.
And the results of the database requests should be displayed on one site
with jquery databse tables and flot charts .....
But I am having problems to display all the results of the requests (of one
controller) on one site.
How would I do this?
Can someone please outline
2012 Sep 11
3
Which Static Web Generator should i use?
i know average ruby language. i sort out two static web generator* **Nanoc*
and *Middleman* my requirements are:-
1. easy to customize
2. easy to learn
3. more resources to learn
so tell me which one will be better for me Nanoc or Middleman?
Thanks for Reading
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post
2013 Jan 25
4
Usage of ram for Sunspot Search engine
Hi all,
I am using Sunspot Search Engine in my app. When I deployed my app in
production It it bit slower side.
My Server Details:
ram 256
Ubuntu 11.10
How can I check why my app is slow in production can any one help me out to
solve this issue.
Cheers,
Kp
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2012 Nov 30
4
Tokeninput incremental search not working
Rails 3.1.3
After watching
http://railscasts.com/episodes/258-token-fields?autoplay=true
I have installed the similar functionality to my app.
However,
def index
@cities = City.all
...
does in fact give the list of all cities in the text field, but
def index
@cities = City.where("name like ?", "%#{params[:q]}%")
...
does NOT
2013 Sep 02
2
Why the string interpolation is not working inside the Nokogiri method `#search` ?
Why the string interpolation is not working inside the Nokogiri method
`#search` ?
require ''nokogiri''
doc = Nokogiri::HTML::Document.parse <<-eotl
<div>
<p>foo</p>
<p>foo</p>
<p>bar</p>
</div>
eotl
doc.class # => Nokogiri::HTML::Document
class Person
attr_accessor :name
end
ram = Person.new
2013 May 27
3
Ransack, acts-as-taggable-on and checkboxes in search form
need some help on ransack filtering.
I have model Project, which has many tags through acts_as_taggable gem.
Project.rb:
class Project < ActiveRecord::Base
include PublicActivity::Common
belongs_to :customer
belongs_to :category
has_many :attachments, :as => :attachable
has_many :reports, :dependent => :destroy
has_many :messages, :dependent
2013 Mar 05
4
searching model and has_one association
Howdy.
I have these models:
User, field "mundane_name"
user has_one :instructor_profile (may or may not exist)
instructor_profile, field "sca_name"
belongs_to :user
I would like to craft a search on these fields, which is effectively this,
but in one go:
matching_users = User.where("mundane_name ILIKE ?", "%#{target}%")
matching_profiles =
2012 Sep 30
2
Run ruby web app from command line
Hello
I made a quite simple ruby web app. It uses scrubyt and mysql to store
results as cached results. The program is quite simple. It shows a
form, you enter a value and the controller makes an external http
call, parse the data and show the result for the user.
But I have a problem. I have the requirement to let a ruby program
from command line more or less run the same function that on web
2013 Dec 17
1
Tire: Problem with including associations while doing a multi-model search
I am using elasticsearch for querying in my application. Lets say there
are 2 models
Class Topic
has_many :posts
and
Class Article
has_many :comments
I want to do a combined search on both these models and my query looks
like:
Tire.search [Article, Topic], {:load => {:include => [:posts,
:comments]}} do |search|
...
end
This is where I encounter a problem. I get the
Association
2013 Mar 26
0
nested forms: use validate :some_method works in update mode only
I have a strange behavior when validating a record in a nested form. The
association collection is empty when creating a new record and the
validation does not catch the error. But when updating the same record the
validation gets it right but continues to catch the error even after
modifying the needed attribute value to make it pass.
Here is the model:
#timesheet.rb
class Timesheet <
2012 Nov 02
1
custom validation method on nested model
I can''t get the field_with_errors div''s to wrap around nested fields in a
fields_for block when using a custom validation method in the parent model.
e.g. there needs to be at least one order detail record associated with an
order. I add the error to the parent model errors hash however I can''t get
the key to match the form field so that the wrapping div''s
2013 May 01
1
Guide user gem
Hello, i am looking for a technique or even better a gem that i could use
in order to design a step-by-step guide for my members when they first
sign-in. To be more specific i need a way to guide users after they
register in order to to show them how they should move on with the
application, what fields they should complete first etc... anyone
experienced with a guide like that before?
2012 Aug 16
2
error installing engineyard-dns
I tried
gem install engineyard-dns
and got the following error:
ERROR: While executing gem ... (NoMethodError)
undefined method `call'' for nil:NilClass
what Im doing wrong?
--
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 Dec 03
2
Rails 3.2 session id nil until next request
Posted this on stack overflow earlier today here<http://stackoverflow.com/questions/13673969/rails-3-2-session-id-nil-until-next-request>,
I really either don''t know what I''m doing, or I don''t understand how
sessions are supposed to work!
I''m connecting to rails from an Air app and communicating with JSON only.
When the client sends a login request,
2013 Sep 26
0
Devise Invitable and Validations -- what's the right way to do this?
Rails 3.2.14, Ruby 1.9.3, devise_invitable 1.1.8
I am trying to get invitations containing custom fields to validate their contents properly. I have tried the invite_keys hash route, as documented here: https://github.com/scambra/devise_invitable#model-configuration and unless I am doing something wrong with my Regexps, what happens is the fields are validated, but the error messages are
2013 Mar 02
3
Help Radio button
Hi i''m fairly new to ruby on rails and i''m creating a form using
simple_form and in one bit i have radio buttons and say i have 3 buttons
a,b,c so i want it to be if a is pressed then certain text fields show, and
if b is pressed a different set of text fields show and similarly for c.
Can anyone help me on this?
--
You received this message because you are subscribed to
2012 Oct 04
1
Page Break issue with Wkhtmltopdf
<https://lh5.googleusercontent.com/-Ic75bafROg0/UG10hP-nizI/AAAAAAAAAAc/NkV_Bom9rYI/s1600/552.png>
Hi all im facing a problem with wkhtmltopdf i am unable to break a page for
pdf output. can any one help me to do that.
Cheers,
Kp
--
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 Aug 09
2
validate_format_of message
I have validates_format_of :name, :with => *my regex*, :message => "That''s wrong"
The validation works but the message does not get displayed when the user enters invalid data.
Does anyone have any ideas how to fix it?
Thanks.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send
2013 Feb 26
2
rails 4.0.0.beta1 installation error
I am getting the following error while installing on windows with ruby v
2.0. I have installed DevKit for 64 bit.
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
d:/programs/Ruby200-x64/bin/ruby.exe extconf.rb
creating Makefile
make
generating
2013 Mar 27
1
remove all html tag before validation
hi,
is there a clean way to remove all html tag of all attributes before
validation
I found acts_as_sanitized that seemed to be perfect, but for rails 2 :-s
thanks
--
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 from it, send an email to