[Rails] How to deploy my sample application

2012-10-19 Thread Manoj M.
Hi all, I heard i can deploy my sample application with the help of heroku... please help me how to do that? what are the steps to follow? Thanks manoj -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on

[Rails] Re: NameError?

2012-10-19 Thread Matthias Frick
you loop through all @posts, but your object is called status - change status to post and everything will work.. Am Donnerstag, 18. Oktober 2012 16:38:03 UTC+2 schrieb wragen22: Hi all, I've created an app that has posts with string title and text content. I'm getting the following

Re: [Rails] [JOB] Senior Rails Developer, New York City | $2000 referral

2012-10-19 Thread Phyllipy Chagas
Is there any chance for a jr? working remotely? On 18 October 2012 00:01, Alan Brown alanbrown7...@gmail.com wrote: Hi, My company is looking for Ruby On Rails developers. You can also refer your friends and earn referral bonus - $2000, Thanks, Alan -- You received this message because

[Rails] multiple select and preview of name of selected files

2012-10-19 Thread akvarel
I was following RailsCasts tutorial JQuery Uploading and I ran into difficulties. I would like to be able to select several files, preview only the name of the files on the website, remove those, which where selected by mistake and only then upload the neccessary ones in Ruby on Rails. br I

Re: [Rails] Rails Services Module

2012-10-19 Thread rubyonrailsx
What's the difference between active_resource and the 'activeservice' you mentioned? -- rubyonrailsx Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Thursday, October 18, 2012 at 7:29 AM, Matthias Frick wrote: d remove external web services to/ from your rails application. It

[Rails] Help to install rails on Ubuntu 10.10

2012-10-19 Thread João Gaiewski
Hello everybody, I have spent many hours trying to install Ruby On Rails in my Ubuntu 10.10, but it's not working... I have tried this tutorial (http://www.youtube.com/watch?v=NmWYZVUln4E) but it is deprecated, because it is too old - from 2010 - and some URLs don't exist anymore. Some

[Rails] Impossible to get data with ActiveResource

2012-10-19 Thread chardy
Hi, I'm trying to work with a RESTful server but I have some problem to setup my project. I have a model class like this : class User ActiveResource::Base self.site = http://diufvm31.unifr.ch:8090/CyberCoachServer/resources/users/; end this controller : class UsersController

[Rails] Re: routing issue with mounted engine - Rails 3.2.8

2012-10-19 Thread Abdelkader Boudih
rake routes to see the routes. On Thursday, 18 October 2012 17:43:12 UTC, Erwin wrote: I mounted the Forem::Engine in my app MyApp::Application.routes.draw do scope /:locale do ... resources :sites, :only = [:none] do get 'home', :on = :collection get

Re: [Rails] Impossible to get data with ActiveResource

2012-10-19 Thread Colin Law
On 18 October 2012 23:30, chardy thibaud...@gmail.com wrote: Hi, I'm trying to work with a RESTful server but I have some problem to setup my project. I have a model class like this : class User ActiveResource::Base self.site =

Re: [Rails] Help to install rails on Ubuntu 10.10

2012-10-19 Thread Colin Law
On 18 October 2012 20:34, João Gaiewski joaogilbert...@gmail.com wrote: Hello everybody, I have spent many hours trying to install Ruby On Rails in my Ubuntu 10.10, but it's not working... I have tried this tutorial (http://www.youtube.com/watch?v=NmWYZVUln4E) but it is deprecated, because

Re: [Rails] How to deploy my sample application

2012-10-19 Thread Norbert Melzer
Heroku provides a very good tutorial about deploying to them. If I recall correctly it summarizes in installing heroku gem and then running heroku deploy. But if you have questions about a specific step of the deployment, feel free to ask, but please give more detail about what you have tried,

Re: [Rails] Rails Services Module

2012-10-19 Thread Norbert Melzer
Hasn't active resource been dropped in rails 3? Am 19.10.2012 12:19 schrieb rubyonrailsx rubyonrai...@gmail.com: What's the difference between active_resource and the 'activeservice' you mentioned? -- rubyonrailsx Sent with Sparrow http://www.sparrowmailapp.com/?sig On Thursday, October

Re: [Rails] Help to install rails on Ubuntu 10.10

2012-10-19 Thread Colin Law
On 19 October 2012 11:55, Colin Law clan...@googlemail.com wrote: On 18 October 2012 20:34, João Gaiewski joaogilbert...@gmail.com wrote: Hello everybody, I have spent many hours trying to install Ruby On Rails in my Ubuntu 10.10, but it's not working... I have just realised that you are

Re: [Rails] multiple select and preview of name of selected files

2012-10-19 Thread Walter Lee Davis
On Oct 18, 2012, at 10:51 AM, akvarel wrote: I was following RailsCasts tutorial JQuery Uploading and I ran into difficulties. I would like to be able to select several files, preview only the name of the files on the website, remove those, which where selected by mistake and only then

[Rails] Solved: Troubles with bcrypt-ruby

2012-10-19 Thread Damjan Rems
It turned out the problem was in controller code. ActiveModel::SecurePassword implements password= method, which is used to set password_digest field. so: calling record.password= sets password_diggest field. But as I have written I am using my own form system, which uses single controller

[Rails] layouts_path

2012-10-19 Thread Drew Drew
I'm very new to RoR and am receiving the following error on rspec spec/ 1) Layouts GET /layouts works! (now write some real specs) Failure/Error: get layouts_path NameError: undefined local variable or method `layouts_path' for

[Rails] Re: layouts_path

2012-10-19 Thread Timster
What is the output of rake routes when you run it from a command line? Have you actually defined a layouts path? -- 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

[Rails] Re: layouts_path

2012-10-19 Thread Drew Davis
Thanks! rake routes output: users_new GET /users/new(.:format) users#new signup /signup(.:format)users#new contact /contact(.:format) pages#contact about /about(.:format) pages#about help /help(.:format)

[Rails] Re: layouts_path

2012-10-19 Thread Timster
You would need to specify this in your routes.rb file. If you post a link to the tutorial you are using, we can help you figure out where in the tutorial it has you defining that path. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To

[Rails] Re: layouts_path

2012-10-19 Thread Drew Davis
I have the book and here's the link: http://ruby.railstutorial.org/ruby-on-rails-tutorial-book Thanks -- 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, send email to

Re: [Rails] Re: layouts_path

2012-10-19 Thread Colin Law
On 19 October 2012 19:02, Drew Davis li...@ruby-forum.com wrote: I have the book and here's the link: http://ruby.railstutorial.org/ruby-on-rails-tutorial-book To save us searching, which section are you on? Colin -- You received this message because you are subscribed to the Google Groups

[Rails] Re: autolog: easily debug-like logging on the fly in your Rails app

2012-10-19 Thread gsw
autolog v0.2.0 released. didn't have autolog method on Object's eigenclass, which meant it wasn't very helpful outside of main where I'd added it specifically, and I wasn't doing an ensure on the block execution to turn it off if anything was raised in the block.

[Rails] Re: Drag and Drop, scrolling and DIVS (scriptaculous)

2012-10-19 Thread Ashish K.
Hi Darren, I am facing the same problem. I tried adding Position.includeScrollOffsets = true; after Position.prepare(); in Droppables.fire(), Draggable.updateDrag(), and Draggable.scroll() but still I am facing the same problem. I have a div container with overflow:auto style. I am trying to drag

[Rails] [JOB] VP of Engineering/CTO - San Francisco, CA

2012-10-19 Thread Beau G.
This is a full time, on-site, salaried VP of Engineering position located in San Francisco, CA paying $150,000 to $175,000 depending on experience + start-up equity package and benefits. No telecommuting allowed. US Citizens or Green Card holders only please. Local candidates *strongly* preferred,

[Rails] limitations of passing a block to class_eval

2012-10-19 Thread John Merlino
One shortcoming of define_method is that it does not allow you to specify a method body that expects a block. If you need to dynamically create a method that accepts a block, you will need to use the def statement within class_eval. Here's a trivial example: class Module def acts_as_thing(name,

Re: [Rails] limitations of passing a block to class_eval

2012-10-19 Thread Jordon Bedwell
On Fri, Oct 19, 2012 at 8:28 PM, John Merlino stoici...@aol.com wrote: One shortcoming of define_method is that it does not allow you to specify a method body that expects a block. If you need to dynamically create a method that accepts a block, you will need to use the def statement within

[Rails] New to Ruby and Rails and confused with Routes..

2012-10-19 Thread Muhammad Salman
Hi, I am new with RoR. I have this HTML element tha href=/movies id=title_headerMovie Title/a/th What i am planning to acheive with this is that when the user clicks the movie title the list sorts itself. My problem here is with the routes. I already have the Rails provided resourceful routes