[Rails] Re: display ppt file in rails application

2014-10-10 Thread Sai Ch
I am really glad to know this slideshare app is also developed using ruby on rails. How can they achieve it..!! -- 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

Re: [Rails] Re: display ppt file in rails application

2014-10-10 Thread Vivek Sampara
http://www.slideshare.net/developers On Fri, Oct 10, 2014 at 11:30 AM, Sai Ch li...@ruby-forum.com wrote: I am really glad to know this slideshare app is also developed using ruby on rails. How can they achieve it..!! -- Posted via http://www.ruby-forum.com/. -- You received this

Re: [Rails] Re: DatabaseMigration

2014-10-10 Thread Vivek Sampara
DuplicateMigrationNameError Basically means that there is a class already defined with the same name db/migrate/sometimestamp_your_migration_name.rb class YourMigrationName ActiveRecord::Migration end So give the migration file a different name and change the class name as well along with it.

[Rails] instaling rails 4.0.8

2014-10-10 Thread Darko Vulin
I am on win7. I installed ruby 2.0.0 but I don't know how tu install rails 4.0.8. I need this enviroment for Ruby on Rails tutorial. Thank's -- 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

[Rails] Re: instaling rails 4.0.8

2014-10-10 Thread Darko Vulin
Before I used Rails instaler for windows but than I got ruby 1.9.3 and rails 4.1.1. Dana petak, 10. listopada 2014. 11:42:21 UTC+2, korisnik Darko Vulin napisao je: I am on win7. I installed ruby 2.0.0 but I don't know how tu install rails 4.0.8. I need this enviroment for Ruby on Rails

[Rails] ActiveSupport::Concern small question

2014-10-10 Thread rusik
Hello all. In this example, as i understand that *included* block is running when Exclaimable module is included in Person and *after* a Person class methods are 'initialized' require 'active_support/concern' module Exclaimable extend ActiveSupport::Concern included do

[Rails] Re: display ppt file in rails application

2014-10-10 Thread Matt Jones
On Thursday, 9 October 2014 06:28:30 UTC-4, Ruby-Forum.com User wrote: Hello Evereyone...! I am trying to create rails application like slideshare, I had properly upload my ppt file in to database when I want to perform/display that particular presentation file. How can i achieve

[Rails][Test][Javascript][noob-question]

2014-10-10 Thread Mrinmoy Das
Hi all, Anyone can recommend a JS code coverage tool which plays well with rails (above 4.0) and jasmine? I tried googling, but most of the stuff are either no longer supported or has different issues (this is my first time dabbling with js unit tests), anybody with experience on this matter?

[Rails] Logging in to WordPress from Rails

2014-10-10 Thread Paul
I have a rails app (v4.1.6 at the moment) that uses Devise. I have configured a subfolder to serve up WordPress for a blog. That is: http://my_app.com -- rails app http://my_app.com/blog -- wordpress That is all working great, but I also want the user to be logged in to wordpress when logged

[Rails] Re: Connecting to SQLServer

2014-10-10 Thread Richard Lenawasae
Thank You Vivek Sampara, but actually i have found i didn't save the previous migration and it duplicate itself.. -- 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

[Rails] Re: Instance variable looses value upon render

2014-10-10 Thread Ronald Fischer
Oh, I really got this wrong. So, the HTML is already constructed with the render call, then the rest of the action is executed! Thanks a lot. Ronald -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk

[Rails] Re: Get the class name of the class who called the parent instance method.

2014-10-10 Thread Mike
You might want something like this. class Foo end Foo.instance_eval do def class_name self.name end end class Bar Foo end class Tar Foo end puts Foo.class_name #= Foo puts Bar.class_name #= Bar puts Tar.class_name #= Tar On Thursday, October 9, 2014 8:27:10 PM UTC-7,

[Rails] JOBS VA, MD, DC -Hire or Contract federal funded projects.

2014-10-10 Thread Christopher Young
Washington, DC area. The developers will work in an Agile Scrum team environment on full lifecycle projects. The systems environment is quickly evolving and cutting edge. The development environment leverages technology from the open source Hydra project, as well as Solr/Lucene, Python and