jrubyonrails
find_by_sql in rails 3.1
I have the following code in my seeds.rb file in a jruby 1.6.3 rails 3.1 project which I invoke with rake db:seed[详细]
2023-03-23 03:48 分类:问答How to include the ruport/acts_as_reportable gems for JRuby using Warbler?
I am using JRuby 1.4.0 and want to use Ruport to make CSV files. This perfectly works until I make a war-file from it with warbler to put it on a server.[详细]
2023-03-19 00:46 分类:问答RJS with Devise gem
What would be the proper way to set Devise gem (ruby on rails v3) in RJS style (example: http://railscasts.com/episodes/43-ajax-with-rjs)?[详细]
2023-03-10 08:37 分类:问答Integrating standard java into web frameworks such as Stripes, Grails JRuby and Rails
For various reasons we have to use a java based web framework to create a proof of concept site. We\'ve a lot of algorithms written in standard java that will have to hoo开发者_运维百科k into the site[详细]
2023-03-09 09:57 分类:问答sunspot with jruby
Hi can sunspot be used with jruby, also here is my app details jruby-1.6.1 rails 3.0.7 when i install all the gems and run rake sunspot:solr:start it gives me the following error[详细]
2023-03-05 07:53 分类:问答after_commit for rails controller
I know that an after_commit callback is provided for ActiveRecord objects in Rails 3.However, I would like to get access to this functionality in a Rails Controller.[详细]
2023-02-21 04:16 分类:问答Any advantages when running a Rails application on Tomcat+JRuby instead of Mongrel/Passenger?
I want to install a Rails application (Redmine) on my Root Server. Since i\'m already planning to run a Tomcat for various Java applications, I\'m asking myself (and you) if it makes sense to also let[详细]
2023-02-14 22:39 分类:问答Flag invalid attribute in ActiveRecord
I am trying to implement functionality wherein an attribute, once set, cannot be changed on an ActiveRecord model. To this end, I have written the following methods:[详细]
2023-02-14 00:42 分类:问答Rails - Mysql::ProtocolError: invalid packet [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: Perplexing Ruby/MySQL Error: "invalid packet: sequence number mismatch"[详细]
2023-02-11 22:01 分类:问答JRuby on Rails using jdbc postgres (8.4) ignores Default values
I have a table created in a migration (only to simplify the problem) that looks like this: create_table :test_defaults, :force => true do |table|[详细]
2023-02-09 18:17 分类:问答