[Rails] What are your thoughts about the social network builder gem SocialStream?

2012-05-06 Thread Gady S
I recently stumbled upon this nice looking social gem http://social-stream.dit.upm.es/ After digging in the code it seems well written but fairly complicated. Did anyone use it? What were your thoughts? -- You received this message because you are subscribed to the Google Groups Ruby on

[Rails] Re: Rails Tutorial 3 attribue unknown

2012-05-06 Thread Sergey Ezhov
I simply add in model: attr_accessible ... :password, :password_confirmation, ... it work but it can not absolutely truly -- 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 post to this group,

[Rails] Engine: Where there should be a database.yml ?

2012-05-06 Thread Sergey Ezhov
For developing an Engine. Where there should be a database.yml file for a configuration of connection with database? I place into engine_dir/test/dummy/config/database.yml It works. But why there? It not an obvious place for configuration placement, it only test-directory. -- Posted via

Re: [Rails] Use of Super or how to get the calling object.

2012-05-06 Thread Jeremy Walker
On 6 May 2012, at 04:29, Niklas Nson niklasn...@me.com wrote: Thank you for a great answer, i wanted to move it from the User model - but i guess the smartest way is to keep it in there, also did the renaming to update_setting ... Again thank you! My pleasure! I understand not wanting

[Rails] run script after initialize

2012-05-06 Thread Guillem Vidal
hi there!! I'm just trying to run a script that adds certain methods to all ActiveRecord::Base descendants, but what happens is that it seems that all models are loaded after the application runs ActiveRecord::Base.send(:descendants).each do |subclass| #do stuff end

Re: [Rails] run script after initialize

2012-05-06 Thread Jeremy Walker
On 6 May 2012, at 20:22, Guillem Vidal li...@ruby-forum.com wrote: hi there!! I'm just trying to run a script that adds certain methods to all ActiveRecord::Base descendants, but what happens is that it seems that all models are loaded after the application runs

[Rails] autocomplete word by word

2012-05-06 Thread rubix Rubix
Hi, I am trying to implement an autocomplete form with rails, I used jquery in a first version, to suggest phrases to user and it worked Now I am trying to have a service of autocomplete word by word, it means when the user it typing in the text area, I suggest only words and not phrases and when

[Rails] Re: run script after initialize

2012-05-06 Thread Guillem Vidal
Jeremy Walker wrote in post #1059748: On 6 May 2012, at 20:22, Guillem Vidal li...@ruby-forum.com wrote: ActiveRecord::Base.send(:descendants) and ActiveRecord::Base.send(:subclasses) is allways empty []. I've tried it on config/environment.rb and config/application.rb with no success, can

[Rails] Re: run script after initialize

2012-05-06 Thread Guillem Vidal
tryied something different, but no success again: Dir[Rails.root.join('app/models/*.rb').to_s].each do |filename| require filename #Connection not stablished... klass = File.basename(filename).sub(/.rb$/, '').classify.safe_constantize next unless klass.nil? ||

[Rails] Re: autocomplete word by word

2012-05-06 Thread Guillem Vidal
rubix Rubix wrote in post #1059751: Hi, I am trying to implement an autocomplete form with rails, I used jquery in a first version, to suggest phrases to user and it worked Now I am trying to have a service of autocomplete word by word, it means when the user it typing in the text area, I

Re: [Rails] Re: run script after initialize

2012-05-06 Thread Jeremy Walker
On 6 May 2012 22:13, Guillem Vidal li...@ruby-forum.com wrote: Jeremy Walker wrote in post #1059748: On 6 May 2012, at 20:22, Guillem Vidal li...@ruby-forum.com wrote: ActiveRecord::Base.send(:descendants) and ActiveRecord::Base.send(:subclasses) is allways empty []. I've tried it on

[Rails] ActionMailer Linode

2012-05-06 Thread Bruno Meira
Hi Guys, I created a mail server at Linode. I would like to configure my rails app to send mails using one of this mail accounts. Does anybody know any tutorial about how to do it? Thx Bruno Meira -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk

[Rails] Re: ActionMailer Linode

2012-05-06 Thread Bruno Meira
I'm using Dovecot -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For

[Rails] Javascript Rails 3.2.1

2012-05-06 Thread Christopher D.
I'm looking to set this up: http://robertnyman.com/2010/12/16/utilizing-the-html5-file-api-to-choose-upload-preview-and-see-progress-for-multiple-files/ So I created a file called upload.js in my assets/javascript directory with the applicable js code (on the above site). I added in the

[Rails]

2012-05-06 Thread Michael Mangus
unsubscribe -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more

[Rails] how to run a cronjob in rackspace

2012-05-06 Thread honey ruby
hi everyone im trying to run the cronjob in rackspace server can anyone help me out how to run cronjob. before i used host getter server to run cronjobs with the help of cpanel when it comes to rackspace there is no cpanel .help me out guys.. thanks in advance -- You received this message