similar to: Is it possible with Rails to interact with SVN Server and/or the server's shell?

Displaying 20 results from an estimated 10000 matches similar to: "Is it possible with Rails to interact with SVN Server and/or the server's shell?"

2013 Oct 04
8
is there any way to convert .xlsx to .xls
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 there''s a direct way to do it. -- You received this
2013 Oct 08
6
Consuming a web service created with Rails, ETL vs Rest?
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 don''t know much about either (ETL and Rest), all I know is that ETL seems to
2013 Oct 10
12
What's the best way to approach reading and parse large XLSX files?
Hello, I''m developing an app that basically, receives a 10MB or less XLSX files with +30000 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 few rows from the largest file using ROO (Spreadsheet doesn''t support XSLX and
2013 Jun 18
1
Getting rspec error: Net::SMTPServerBusy: Relay access denied
I''m trying to test registration emails (sent with devise), and I keep getting the error: Net::SMTPServerBusy: 454 4.7.1 <model_spec-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org>: Relay access denied I''m running Rails 3.2.11 with Capybara, and I have (temporarily) chopped my spec_helper.rb and test.rb files down to the bare minimum, still getting the error above.
2013 Oct 02
2
When overriding the registration controller from devise, is it possible to access the newly created
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 RegistrationsController < Devise::RegistrationsController def new
2012 Feb 14
6
SMTP problem.
Hey all, well I am trying to send emails to newly created users but I have a problem. In the rails log it states that the email has been sent but the email is never actually received so obviously there is a problem. I have noticed one in particular and I don''t understand how to fix it. Once I create the user I get the following error message: Net::SMTPAuthenticationError (535-5.7.1
2010 Mar 04
5
has anybody made actionmailer work with rails 2.3.5?
Hi, I have wasted few days and I''m not getting anywhere. I was trying to follow tutorial on Rails Guides and this one: http://www.tutorialspoint.com/ruby-on-rails/rails-send-email.htm . All I need is to be able to send some text, nothing fancy. Why in Rails it has to be so difficult? Why it can''t be so simple as in PHP? Can anybody point me to some good simple tutorial,
2010 Aug 10
3
ActiveRecord::UnknownAttributeError: unknown attribute: <script type
Has anyone seen this happening to their apps? I''m starting to get errors like this come across from one of my apps: ActiveRecord::UnknownAttributeError: unknown attribute: <script type The parameters being sent are: {"user"=> {"email_confirmation"=>"someone-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org",
2011 Mar 04
1
How to modify the template path for ActionMailer used in a Ruby script ?
I am testing a ruby 1.9.2 script (it''ll be run in a cron task later...) in which I am trying to use ActionMailer All my files are in a single folder ''joinus_email - joinus_email joinus_email.rb notifier.rb - notifications joinus_email.html.erb joinus_email.text.erb running the script joinus_email.rb, (in which I defined the
2011 May 03
1
syntax error, unexpected $end, expecting rASSOC
I added this to my db/seeds.rb: user = User.create :email => ''another-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org'', "password => ''guessit'' Category.create [{:name => ''Programming''}, {:name => ''Event''}, {:name => ''Travel''}, {:name => ''Music''},
2013 May 10
2
capistrano and scm_username and github
In the capistrano wiki, it contains this line: set :scm_username, “foo”. If you access your source repository with a different user name than you are logged into your local machine with, Capistrano needs to know. Actually the way I access my repository through my app is through ssh keys. The only user name I have with github is the one I use to log into github to view my repositories. So
2007 Jun 27
5
How to make attachment_fu generate RESTFUL URL
hi folks: I follow this article:http://clarkware.com/cgi/blosxom/2007/02/24 all goes well except the public_filename ,it return something like "photos/0000/0001/test.jpg" ,not the expected RESTFUL URL LIKE ''photos/1/test.jpg'',any suggestion? My Env is Rails 1.2.3 on Ruby 1.8.6 with attachment_fu from http ://svn.techno-weenie.net/projects/plugins/attachment_fu/ by now
2011 Jul 30
2
Get the current user as Json with Devise
Hi! I use Devise and Basic HTTP Authentication to access user areas from a mobile app. When the user enters its details in the app and it tries to "login" (you don''t actually login with basic auth as you send the credentials with each request) I want to get a response back with the user info, like user ID, email (not password) etc. - So, is there a way to do this out of
2013 Jun 02
16
Ruby 2.0 is running, but Rails 4 doesn't see it.
What am I doing wrong?? ****@ubuntu:~/ruby/things_i_bought$ rake db:migrate Rails 4 prefers to run on Ruby 2.0. You''re running ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux] Please upgrade to Ruby 1.9.3 or newer to continue. ****@ubuntu:~/ruby/things_i_bought$ ruby -v ruby 2.0.0p0 (2013-02-24 revision 39474) [i686-linux] ****@ubuntu:~/ruby/things_i_bought$ rvm
2012 Dec 12
2
How to get ruby running on a webserver
Hi, I have purchased a VPS that has WHM cpanel. I have logged into the root of my system using putty and installed ruby 1.9.3 via rvm and rails 3.2.9. I have created a website in cpanel that has created a public_html directory that is live and working on the web. I then created a simple ruby website called blog in the public_html directory. My question is how do I get the ruby application to run
2013 Aug 27
11
Why NaN.class throws NameError ?
Here is my sample code: class Foo Bar = 10 end Foo::Bar # => 10 Foo::Bar.class # => Fixnum 10.class # => Fixnum Float::NAN # => NaN Float::NAN.class # => Float NaN.class # uninitialized constant NaN (NameError) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2013 May 02
1
trouble-with-capybara-and-rspec-on-a-new-model-spec
I have searched a lot for a solution, but I could not find it! I am trying to make a rails application after watching Michael Hartl''s tutorial and when i fill data manually and submit it nothing happens and nothing records in the Mailers table and I am facing the following error: Failures: 1) Mailer pages mail us with valid information should send a mail Failure/Error: expect
2013 May 31
11
A simple javascript alert not working
If I have a file in view /test called index.js.erb and in it a simple alert("hello") shouldn''t that run when I go to /test/index? It doesn''t. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it,
2013 Aug 29
10
Concatenate two arrays
Hello again ruby community! I just learned how to add two arrays(I know, i know). My program looked like this array1=[1,2,3] array2=[4,5,6] array_sum=array1+array2 I thought pretty simple stuff, they are combined. However, now i am looking to define that code as a method and I do not understand how to create the correct number of arguments, so when the method is called back it gives me my
2012 Nov 08
1
validates_uniqueness_of(*attr_names) w scope not working in unit test
Rails 3.2.8 Very strange , it works in dv mode console , but not in a unit test class User < ActiveRecord::Base belongs_to :subdomain validates_uniqueness_of :email, :scope => :subdomain_id class UserTest < ActiveSupport::TestCase def initialize_user @booboo = FactoryGirl.create(:subdomain, name: "booboo") @coocoo = FactoryGirl.create(:subdomain, name: