Please use either spring-roo or roo-gem
Questions tagged [roo]
104 questions
0
votes
0 answers
Fetching values based on keys from hash
I am using roo gem for reading an xlsx file.
sheet.each(identifier: 'identifier',name: 'name') do |hash|
puts hash.inspect
puts hash['identifier'] => prints empty
end
inspect correctly gives all the hash with all the key/ value…

themaster
- 453
- 11
- 32
0
votes
0 answers
STS 3.9.5 AutoComplete does not work with roo
I installed STS 3.9.5 with java 10 and the autocomplete stopped working for the Roo generated entities. For example, if I put in the Domain class the method set and get, it works fine. If the method is in the AspectJ, the autocomplete is stopped.
I…

Bruno Cesena
- 1
- 1
0
votes
0 answers
How do I determine if Tempfile is a stream or not?
I have a problem with roo gem. When I upload the file using my Rails app it ends up as a Tempfile on the file system, because I do not want to keep the file but import the spreadsheet data from…

ruby_object
- 1,229
- 1
- 12
- 30
0
votes
0 answers
Action cable + Sidekiq + Roo - Displaying csv rows count
I have a model called Scanner the purpose of this is upload a xlsx file through active storage and then process the file in the background with sidekiq and roo gem to create a new txt file. That process it's working perfectly. The part where I am…
0
votes
0 answers
How to modify the UI in the spring roo application to add finder?
I have a working CRUD application that I reverse engineered by pointing to existing DB using Spring Roo 1.3.2.
I was also able to add some finder methods in the domain class and also modified
the auto-generated controller accordingly. However I am…

Nital
- 5,784
- 26
- 103
- 195
0
votes
1 answer
Rails Unable To Access an Object In the Controller using Roo to import Excel/CSV and PGSQL DB
I'm using a words_import class/controller to allow me to validate my words as I import them from a csv file or excel spreadsheet. Unfortunately I'm receiving an error:
undefined method 'fetch_value' for nil:NilClass
When I attempt to load the…

Bret
- 23
- 4
0
votes
1 answer
Illegal name when creating a new Spring Roo project
When you try to use "dash sign" in project name in a new Spring Roo project (Roo 2.0 RC1) in STS (v. 3.8.4) that causes project generation to fail.
Basically, in New Roo Project window, when you start entering project name it accepts alphanumeric…

iaforek
- 2,860
- 5
- 40
- 56
0
votes
0 answers
Roo Gem and RubyZip Working together
We use Roo to handle the spreadsheets that are upload. Everything works fine.
A request was put in to allow for a zip file with multiple excel docs in it. I went out and added
gem 'rubyzip', '>= 1.0.0'
and ran bundle install. Following the…

cal1801
- 135
- 1
- 11
0
votes
1 answer
no implicit conversion of Symbol into Integer
I am trying to import a file into excel, but when I try to create a record with related data it shows me the following error:
no implicit conversion of Symbol into Integer
in this line:
list.detallelp_attributes = {Articulo: row["Articulo"],…

LuisC
- 335
- 1
- 11
0
votes
1 answer
How to import relational data from excel file
I'm following the railcast tutorial https://www.youtube.com/watch?v=_NSBm_Q431Y&t=487s on importing data using an excel file to the database using the gem roo. Importing and exporting data work fine, but at the time of importing relational data it…

LuisC
- 335
- 1
- 11
0
votes
1 answer
Spring Bean update and model update (Spring/Hibernate/Roo/MySQL)
I have to add some functionalities to a Spring Web App (not written by me), to do so I would like to modify beans/alter table models, but I don't know where to start, maybe this is not the right way to proceed on a spring-hibernate project.
What is…

dontpanic
- 11
- 3
0
votes
1 answer
Spring Roo with Java 8
Does SpringRoo generate code for Java 8 features: Streams, Lambda, Parallel Processing? If so, please point to example links.
The SpringRoo release notes mention that it supports Java 8, but has no more details.
0
votes
1 answer
Ruby, delayed_job, Roo - undefined method `name' for nil:NilClass
In my controller
def upload
@file = params[:file_xlsx]
Category.delay.upload_process(@file.tempfile, params[:id])
redirect_to action: "show", id: params[:id]
end
On My Model
def self.upload_process(file, id)
xlsx =…

N Javier Romero
- 19
- 3
0
votes
1 answer
How do I can pass userDetails as a parameter
How do I pass Userr instance as a parameter. I have tried this but it's not working.
public Double getCurrentProfitAndLoss() {
Double currentProfitAndLoss = null;
Userr user = ( (OptionsUser)…

Muddassir Rahman
- 37
- 6
0
votes
1 answer
Security setup in Spring Roo M2
I've created project in Spring Roo 2.0.0 M2.
Used "security setup".
But I don't see file applicationContext-security.xml
Where is it?
I tried to use applicationContext-security.xml from version 1.32 but didn't have success.

Michael Maslov
- 31
- 1
- 3