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
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.
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)?
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
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
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.
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
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:
This question already has answers here: Closed 11 years ago. Possible Duplicate: Perplexing Ruby/MySQL Error: "invalid packet: sequence number mismatch"
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|