similar to: JRuby on Rails

Displaying 20 results from an estimated 4000 matches similar to: "JRuby on Rails"

2009 Oct 20
3
gem installation failed
i got this error message while installing mysql gem..... kindly help me to solve this issue.... JRuby limited openssl loaded. gem install jruby-openssl for full support. http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. C:/Program Files/NetBeans
2009 May 05
3
Oracle-JRuby error
I am trying to migrate from RoR/MYSql to JRoR/Oracle. I am using Active Record JDBC to talk to the database. The Migration process to create and populate the database tables has been painful. My latest issue is the method new_date is undefined in the JDBC adapter. I have the following gems installed: *** LOCAL GEMS *** actionmailer (2.2.2) actionpack (2.2.2) activerecord (2.2.2)
2009 Oct 12
15
We're sorry, but something went wrong on Tomcat
I am using JRuby and I have to deploy on Tomcat. My web app is working fine in the dev envirmonment, with Mongel, but when I deploy on Tomcat I get "We''re sorry, but something went wrong on Tomcat". The problem is that production.log only shows: # Logfile created on Mon Oct 12 12:54:36 +0100 2009-bash-3.00 The file permission and directory are 777. Any idea how I can
2010 Jan 09
9
Problem with Sessions
Hi, Using Netbeans 6.7.1, Rails Gem Version 2.3.2 MySQL Server 5.1 I am currently doing the depot application from the pragmatic programmer book (agile web development with rails) everything has been fine up until the point of creating sessions. I know they are using an earlier version of Ruby and the gems version is 2.2.2. As soon as I put the necessary code in the website no longer works and
2010 Jun 30
1
App not run when I upload on hosting support RoR
I have app RoR good running on NetBean with JRuby But, I upload up server to server, it not run. I have ready setup rubygem. Cau you help me? please guide detail with me about work from how to upload code to server host and start running app RoR. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2010 Oct 28
2
ActiveRecord JDBC error Generated keys not requested
I''m getting the following error while connecting to mysql using activerecord-jdbcmysql-adapter (1.0.2). Rails 3.0.1. ActiveRecord::JDBCError: Generated keys not requested. You need to specify Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate() or Connection.prepareStatement().: SET SQL_AUTO_IS_NULL=0 This occurs not matter what application I run it in to e.g. rake, rails
2010 Aug 13
5
"uninitialized constant" Error for CalendarHelpper
After installing calendar_helper-0.2.3 gem, application using CalendarHelper works fine. Then I tried to test using rake command which gave me the following error. Why does these messages appear evenif the application owrks fine. ------------------------------ Error Messags -------------------------------------- /usr/local/jruby-1.5.1/bin/jruby -I"lib:test"
2008 Jan 14
5
Help finding "JRE" to run Netbeans in Linux
I''ve spent the last year developing a large Ruby on Rails 2.0 application with over a 100 tables and controllers and hope to be deploying it soon. Before I moved from my Windows XP computer to deployment, I wanted to run it in a local Linux environment to sort out: 1. Amazon S3 files 2. RMagick (went south when I upgraded to Rails 2.0) 3. ARMailer (mail spooling program) I''ve
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
2010 Aug 14
10
Redirecting after logging in
Hey everybody, I''m trying to make an example of a small networking site, and when I log in a user, it should redirect and show his profile, but I get the following error: NoMethodError in User#index Showing app/views/user/index.html.erb where line #5 raised: undefined method `screen_name'' for nil:NilClass Extracted source (around line #5): 2: Your basic information 3:
2010 Mar 07
8
Parsing XML file with no style info with Hpricot
Hello, I''ve been trying for hours to parse an XML using Hpricot. Usually it''s not a problem. Here''s my simple code: #This works and outputs the proper xml data @url1 = ''http://www.sportingnews.com/stories/sportingnews/MLB/rss.xml'' @page1 = Hpricot(open(@url1)) <%= @page 1 %> #This does not work, and I''m scratching my head @url1 =
2010 Sep 16
6
acts_as_solr plugin fate?
Just wanted to see if I was using the latest acts_as_solr plugin, but the URL <http://acts_as_solr.railsfreaks.com/> takes me to a GoDaddy domain parking page. Anyone know what''s happened to railsfreaks, and more particularly this plugin? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- You received this
2012 Jul 07
18
Problem processing text file after uploading
I''ve got a web-app currently partially working. The user uploads a .txt, .docx or .doc file to the server. Currently the model handles those files, saves some metadata (the extention and orig filename) then saves the file to the hard drive. Next it converts the doc and docx files to plain text and saves the output to a txt file. My problem is I want to copy the plain text contents of
2010 Dec 06
15
Windows new installation - Always problems
I would like to know if there is a way to ''package'' an application with all the associated gems and ship it to a new server and having it to "just work" in a Windows environment. Although I have never done it I know that Rails can be frozen into the application. I am wondering if I can do the same thing with other gems. I have found this
2009 Oct 23
10
Rspec Tutorial
Hi Everybody, Greetings!! I want to use rspec for my applications. Please guide me with the Rspec tutorial. I want a good example to start with. Please help me by providing good tutorials on Rspec to start with. I actually followed the example from http://rspec.info Please guide me on more examples. Waiting for your reply. --~--~---------~--~----~------------~-------~--~----~ You received
2009 Apr 05
5
Use a value from a different model
Hello, I cannot find the issue and it drives me crazy :( let''s simplify. I have 2 models: saving and purchase_type a *saving* corresponds to a *purchase_type* e.g. new sourcing or renegotiation a saving has exactly one purchase_type and a purchase_type has many savings. when I try to display the list of savings and their purchase type (name, not Id), i get the dreaded "You have a
2012 Sep 04
5
Associations and Math between Models
I''ve setup two models, 1 and 2, that are associated by has_and_belongs_to_many. I''m trying to get an attribute from model_1 to use in a method in model_2. When I use the code below, I get an error saying ''undefined method model_1_id''. What am I missing? Thanks! Model_2.rb Class Model_2 < ActiveRecord::Base ... has_and_belongs_to_many :model_1 def
2009 Oct 22
11
UFT8 String looks great in MySql, garbage in browser
Hi, I have some seed data in MySql which contains non-ASCII characters (as you''d imagine as these are worldwide placenames that I''m storing). In MySql on the command line they look great, they''re all formatted perfectly, including Arabic and Chinese characters and they look great. However, when I ask my Rails model for one of these fields, and render that in the
2010 Dec 31
9
Headers in ActiveResource
I am creating a rails app that is a gui wraping a restful web service that uses a websso for authentication. This websso sets a series of headers that I need to pass from the request to the ActiveResource.find methods. As this is stuff like username etc it is going to be different for each request. I can find examples on how to set headers for all requests not just one. Does anyone know of a way
2009 Jan 08
5
There is already an object named 'schema_migrations' in the database
I''ve created a table in a SQL Server database using a migration, successfully. I''ve tried to change the name of a column in the table and got the error message above when running ''rake db:migrate''. Previously I have developed using MySQL and Sqlite and migrations have worked successfully. This is an error I have not seen before. Has anybody seen this and worked