Hello all, thanks for replying.
Explaining a little further what I need is to set the permissions to
determined users from the app, however, the files aren't in the same server
as the app and it should be relatively easy to the users to access the
files, and the admin wants to be able to see wh
Hello! I'm fairly new to Ruby and Rails, and currently I don't have any
knowledge on interacting with the server's shell or a SVN server, but now I
have to develop an app where admins allow/restrict access to files and
folders from the app and some sort of version control of the files is need
s
I'm asking because I'm new to both ruby and rails and my knowledge is not
enough to understand source code
On Monday, October 21, 2013 11:22:28 AM UTC-4:30, Ruby-Forum.com User wrote:
>
> Usually the simplest way to learn how a gem works internally is to go
> and read the source code. This shoul
Do they open a file and load it into memory?
I'm asking because it seems to take a long time opening a file but after it
opens looping into the variable is REALLY fast, could someone explain me or
tell me where can I find an explanaition on how this sort of things work?
--
You received this m
e's a
comparison later.
On Thursday, October 17, 2013 3:45:52 PM UTC-4:30, Colin Law wrote:
>
> On 17 October 2013 19:58, Monserrat Foster >
> wrote:
> > I'm trying to check if a cell is empty because when the parser reaches
> an
> > empty cell it throws
I'm trying to check if a cell is empty because when the parser reaches an
empty cell it throws NoMethodError (undefined methodvalue' for
nil:NilClass)`
This is what I was trying to do:
1.upto(inventory[0].sheet_data.size) do |line|
@projectCode = inventory[0][line][1].value unless
inve
(ActiveRecord: 693.1ms)
On Friday, October 11, 2013 4:03:12 PM UTC-4:30, Monserrat Foster wrote:
>
> This is an everyday, initially maybe a couple people at the same time
> uploading and parsing files to generate the new one, but eventually it will
> extend to other people, so...
>
> I us
ogiri? I can't seem to find one
On Friday, October 11, 2013 11:12:20 AM UTC-4:30, Walter Lee Davis wrote:
>
>
> On Oct 11, 2013, at 11:30 AM, Monserrat Foster wrote:
>
> > One 3+ row file and another with just over 200. How much memory
> should I need for this no
Hi, the files automatically download in .XLSX formats, I can't change them
and I can't force the users to change it in order to make my job easier.
Thanks for the suggestion.
On Friday, October 11, 2013 11:34:39 AM UTC-4:30, donz wrote:
>
> On 10/11/2013 11:30 AM, Monser
about 7MB, which is not that much (I think)
On Friday, October 11, 2013 8:44:22 AM UTC-4:30, Walter Lee Davis wrote:
>
>
> On Oct 10, 2013, at 4:50 PM, Monserrat Foster wrote:
>
> > A coworker suggested I should use just basic OOP for this, to create a
> class that reads files
done this
before.
I'll look up nokogiri and SAX
On Thursday, October 10, 2013 4:12:33 PM UTC-4:30, Walter Lee Davis wrote:
>
> On Oct 10, 2013, at 4:36 PM, Monserrat Foster wrote:
>
> > Hello, I'm developing an app that basically, receives a 10MB or less
> XLSX files wi
Hello, I'm developing an app that basically, receives a 10MB or less XLSX
files with +3 rows or so, and another XLSX file with about 200rows, I
have to read one row of the smallest file, look it up on the largest file
and write data from both files to a new one.
I just did a test reading a
Hello, I'm developing an app that basically, receives a 10MB or less XLSX
files with +3 rows or so, and another XLSX file with about 200rows, I
have to read one row of the smallest file, look it up on the largest file
and write data from both files to a new one.
I just did a test reading a
hen consuming a webservice, like redmine API, but without handling
databases, is it better to use REST (httparty) or ETL (ActiveWarehouse) and
why
On Tuesday, October 8, 2013 11:17:20 PM UTC-4:30, Ruby-Forum.com User wrote:
>
> Monserrat Foster wrote in post #1123885:
> > It has do with
r" way to do it, I'll take that.
On Tuesday, October 8, 2013 9:48:34 AM UTC-4:30, Colin Law wrote:
>
> On 8 October 2013 14:42, Monserrat Foster >
> wrote:
> > Hello, I need to consume a web service of an App called RedMine created
> with
> > Rails, in orde
It has do with rails because I'd be using an already existing rails app and
probably another app with a few gems to connect to the already defined web
service (IMO)
On Tuesday, October 8, 2013 9:54:29 AM UTC-4:30, Monserrat Foster wrote:
>
> The existing app is RedMine, I'd l
Hello, I need to consume a web service of an App called RedMine created
with Rails, in order to have a sort of "separate" interface (not the same
as the app) for one of the departments (that interact with the app) to
interact with it and generate some different reports based on the same data.
I
Hello, I'm new to ruby and rails... I was planning to use the spreadsheet
gem to open the files but it doesn't support xlsx.
I saw this as an example on how to do the same using paperclip
@workbook = Spreadsheet.open(MyFile.first.attachment.to_file)
I imagine with roo would be something like
#
according to this, http://roo.rubyforge.org/ roo only access .xls and .xslx
files as read only, so, that means I should read it with roo and write it
with another gem in .xls format?
On Friday, October 4, 2013 11:59:06 AM UTC-4:30, Ruby-Forum.com User wrote:
>
> Joel Pearson wrote in post #11235
I meant, any gems, to use on rails
On Friday, October 4, 2013 11:10:33 AM UTC-4:30, Colin Law wrote:
>
> On 4 October 2013 15:21, Monserrat Foster >
> wrote:
> > Hello Guys, does anybody know if there's anyway to upload a .xlsx file
> and
> > then convert it t
Hello Guys, does anybody know if there's anyway to upload a .xlsx file and
then convert it to .xls file for later processing?
i'd like to use spreadsheet to write a new xls file but it doesn't support
xlsx and the file is only importable with that format sadly.
I saw roo but I don't know if the
I'm trying to make rails_admin use the custom registration controller that
I used, instead of the devise one.
Meaning when I enter with /users/sign_up it uses the custom controller that
has a method that I need, however if I create a user with rails_admin it
seems to use the devise controller
I'm trying to create a folder right after a user registers, so I override
the create action on the registration controller (devise) but I don't know
how to access the newly created user in order to create the folder with
it's name to upload files later.
So far I've got this:
class Registrati
please give me an example?
On Tuesday, October 1, 2013 5:32:00 PM UTC-4:30, Monserrat Foster wrote:
>
> lol. I meant, If i replace self.inventory.instance_write(:
> inventory_file_name, "#{:current_user}#{extension}") for
>
> self.inventory.instance_write(:inventory_file_nam
it seems to be saving
as :rails_root/tmp/uploaded_files/inventories/:basename_.:extension ignoring
the self.inventory.instance_write(:inventory_file_name,
"#{SecureRandom.hex(16)}#{extension}") line
On Tuesday, October 1, 2013 5:21:03 PM UTC-4:30, Scott Ribe wrote:
>
> On
Hello, I'm new to Ruby, Rails, Devise and Paperclip and I'm trying to
change a filename when I upload it to include the user's nickname after a _
however, I keep getting filename.extension_(*missing user name*) and this
error
undefined method `current_user=' for #
app/controllers/upload_f
I'm currently new to Rails and Ruby and I'm trying to learn from my
mistakes, this time I'm trying to upload 2 files from a form for later
processing, however, after I hit the "Submit" button. I keep getting this
error:
TypeError in UploadFilesController#create
app/controllers/upload_files_c
27 matches
Mail list logo