Displaying 20 results from an estimated 70000 matches similar to: "Run rails application without installing rails"
2012 Sep 04
3
Thinking Sphinx and Ransack in the same application?
I have Ransack set up to do simple attribute-based search in my application. Now, I''m trying to add TS to the app to enable full-text searching. Trouble is, both of these define a Model#search method. Has anyone here ever tried this combination? Is there a way to rename the search method on either of these?
Thanks in advance,
Walter
--
You received this message because you are
2011 Dec 09
1
How To deploy Rails 3 Application In GlassFish Server
Hi,
How To deploy Rails 3 Application In Glass Fish Server?
Can any one help me out.
Thanks in advance
Regards,
Yaswanth
**
--
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 Aug 07
4
how to do render partial on jquery ajax success method with rails 3
I''m using rails 3.2.1 with jquery for an ajax call.
My juqery code is :
jQuery.ajax({
url: "/org_pages",
data: ''org_id=''+ org_id,
type: "POST",
success: function(result){
jQuery("#image_center").html("<%=
escape_javascript(render(:partial =>
2013 Jun 21
3
[HELP ] Call java code / method from Ruby programming
Hi All ,
I have written java code ( This java code will not return any thing but
it will do action ) which is required call from ruby , please let me what
is best way to achieve this ?
Thanks ,
Muthu Selvan SR
--
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
2013 Oct 23
3
Rails 4 and HABTM Checkboxes: Unpermitted parameters error
I have a simple Rails 4 project with two scaffolded models: Practice and Practitioner. I have set these both as habtm and am in the process of adding checkboxes to the Practitioner form so that I can check off the practices that this practitioner belongs to. In the practitioners_controller, I added practice_ids to the practitioner_params permit list, but I am still getting the error:
Started
2013 Feb 14
4
Struggling with Jruby Rails + jdbc driver
hi all,
I am having a hard time trying to find out what''s wrong with my setup. It
used to work smoothly until I decided out of the blue to do a selfupdate
and upgrade outdated on MacPort, then things started going south very
quickily.
Since MacPort kinda broke, I pull it all out and re-install the ports I
have before, which went pretty smoothly. Then to my surprise any command I
2013 Sep 26
4
Rails Misconfigured - Missing Welcome Page
I''m using DigitalOcean as my hosting provider as I have some simple
sites there. I thought I''d try to setup rails on a domain there to see
what I could accomplish.
OS: Ubuntu 12.04 x32
Rails: 4.0.0
Ruby: 2.0.0p247
nginx: 1.1.19
MariaDB: 10.0.4
Passenger: 4.0.19
node.js: 0.6.12
Thin: 1.5.1
When I hit the sight, I get "Welcome to
2012 Aug 25
12
index.html in rails-app/public
Hello All,
I have created a rails application on hosrtmonster and created
symbolic link of app''s public folder. Now default link is to
index.html of rails-app/public folder.
I want to set another page as homepage. I also set root in routes.rb
file but its not working, also remove default index.html from public
folder.
Can anyone tell me how to add link
2012 Nov 14
8
right click or Context Menu in ruby without javascript
Hi,
This query is a replica of the link
http://railsforum.com/viewtopic.php?id=51231.
As I was unable to get any replies from the rails forum, I am posting
the same here.
I have developed an app using Rails 3. I have a table made to look
like a calendar. I wanted to know if there were any methods or gems to
acheive right click(context menu) action on the dates WITHOUT
javascripts or
2011 Aug 18
3
Rails 3 - Production Environment
Hello Everyone,
I need some help related to the below requirements:
-> I need to setup production environment without installing Ruby or
Rails or other related gems into it.
I did accomplish the same using JRuby, bundler and warbler plugin. And
deployed the WAR file into Apache Tomcat server. But now I have to do
this without JRuby & Apache Tomcat.
-> I have to setup Apache with
2013 Feb 22
3
Deploying from Windows to Linux?
I''ve been developing my rails app in Windows. The app connects to SQL
Server database using the sqladapter gem and through ODBC. I know that the
recommended platform for production would be Linux.
Whether its possible to deploy my app to Linux? If yes, how hard would that
be?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2013 Jul 19
12
Rails 4 "belongs_to: record" association doesn't work
Hi,
I discovered a weird behavior when using a "belongs_to: record" association
in Rails 4.
Given two models A and B:
class A < ActiveRecord::Base
belongs_to :record, class_name: ''B'', foreign_key: ''b_id''
end
class B < ActiveRecord::Base
end
When creating A, it inserts a record in B and returns A with id of nil:
irb(main):001:0>
2012 Aug 25
6
Ruby Cgi and Mysql/Postgresql
Hi
i m very new in ruby ( i used to work on php)
I am looking for good documentation or book which will show me
how to use ruby with CGI + mysql /Postgresql
something like, will show how to grab data from database and pass those
into Select or combox box ..
i tryed to look for books but i have not find any
so good documentation site, books would be good
Thnaks
--
Posted via
2013 Oct 23
9
rails generate scaffold - ERROR
Hi,
I just installed ROR using the rvm using these instructions:
http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/
Using Ubuntu 12 on VirtualBox
I''m trying to create a demo_app
rails generate scaffold User name:string email:string
gives me this error:
--
/home/natmanu/.rvm/gems/ruby-2.0.0-p247/gems/execjs-2.0.2/lib/execjs/runtimes.rb:51:in
`autodetect'': Could not
2012 Dec 08
9
link_to popup
Hello All,
I have a link. Which I want to open as a new window :-
<%= link_to "Google", "https://www.google.com", :popup =>
[''new_window_name'',''toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes'']
%>
But it is opening in the same page....
Any suggestions how to do it ??
Even hover will be
2012 Jul 18
5
string array to integer array
array=["1","3","4"]
How do i convert this array to
sessionarraydb_array=[1,3,4,]
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from
2012 Oct 09
10
Auto refresh the drop-down
I have an option in dropdown like "Add new option" written using
grouped_collection_select.
And when user clicks on the "Add new option". A pop up dialog appears to
add a new value. And when I click create it hits the database and adds the
value to the db.
But It never updates the dropdown list. Suggest me a way to auto refresh
only the current dropdown with the new
2013 Jun 20
8
[HELP] - Ruby Drag and Drop script on screen element in Mac OS
Hi All ,
I am new to the ruby , i want click the object on element ( any object ,
Ex: Calculator) after click i need Drag and Drop the
element continuously for some time , please let me know how to do it in
ruby in Mac OS ?
Thanks ,
Muthu Selvan SR
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe
2012 Jul 25
3
rails scope without raw sql
Hi, I''ve been stung when deploying a rails app to heroku, and I''m fairly
confident the problem is the difference between my local db sqlite3, and
the heroku standard free shared db which is postgres(i think).
I have a scope in my model that looks like this
scope :not_archived, :conditions => [''application_state != "archived"'']
The idea is I want
2013 Nov 14
10
Render to clear textbox
There has to be a better way to do this. What I am trying is not working,
and seems convoluted. Essentially, a controller method is called, and exits
by rendering a partial the purpose of which is to simply clear a textbox in
the view. So I am calling the partial which established the textbox -- but
it doesn''t work (i.e. it doesn''t clear the textbox). Does anyone know of a