Re: [Rails] Having trouble deploying to production (Linode, Passenger)

2012-07-11 Thread Oleg Zhoglo
My assets folder is inside the first_app folder- is that error saying that the app is looking for it in a first_app/public folder? On Wednesday, July 11, 2012 11:47:44 PM UTC-7, Oleg Zhoglo wrote: > > Is this what you mean? Here are the last few entries for the > /srv/www/preziki/logs/error.lo

[Rails] Re: How to Debug

2012-07-11 Thread Aliaksei Sinkevich
Try out RubyMine (http://www.jetbrains.com/ruby/) > > It will automatically download libs for debugging and also it's a very smart IDE -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://grou

Re: [Rails] Having trouble deploying to production (Linode, Passenger)

2012-07-11 Thread Oleg Zhoglo
Is this what you mean? Here are the last few entries for the /srv/www/preziki/logs/error.log file: [Thu Jul 12 04:45:56 2012] [error] [client 67.168.204.53] File does not exist: /srv/www/preziki/first_app/public/assets, referer: http://www.preziki.com/ [Thu Jul 12 04:45:59 2012] [error] [client

Re: [Rails] Having trouble deploying to production (Linode, Passenger)

2012-07-11 Thread Norbert Melzer
Am 12.07.2012 00:59 schrieb "IvanPomedorov" : > What am I doing wrong? You are not telling us , what your logs say, but IT would help to see the logging Output of the request for User, or any other site that isnt working as expected. -- You received this message because you are subscribed to th

Re: [Rails] ceil method

2012-07-11 Thread Walter Lee Davis
Let's ask irb: 1.9.2-p320 :002 > 3/2 => 1 1.9.2-p320 :003 > 3.0/2 => 1.5 Walter On Jul 12, 2012, at 1:13 AM, John Merlino wrote: > Often times the ceil method is used for patterns that involve grouping. For > example, if I have an array of objects and I want to group them in rows of 3, >

Re: [Rails] ceil method

2012-07-11 Thread Norbert Melzer
Am 12.07.2012 07:13 schrieb "John Merlino" : > > Often times the ceil method is used for patterns that involve grouping. For example, if I have an array of objects and I want to group them in rows of 3, I might do this: > > (@objects.size / 3.0).ceil > > So if size returns 2, then the above express

[Rails] ceil method

2012-07-11 Thread John Merlino
Often times the ceil method is used for patterns that involve grouping. For example, if I have an array of objects and I want to group them in rows of 3, I might do this: (@objects.size / 3.0).ceil So if size returns 2, then the above expression returns 1. Here's my question. In terms of arit

[Rails] HBase and Rails

2012-07-11 Thread Ari King
I'm considering using HBase within Rails. I'd appreciate feedback from those that are using HBase on the following: 1. Are you using an ORM? a. If yes, which one and why? b. If no, how are you interacting with HBase? 2. Were there any complications/obstacles in developing with HBase as the data

[Rails] Question with the template inheritance

2012-07-11 Thread LordSarevok
Hi all!, I have a doubt with the inheritance templates since rails 3.1, we have accesible on views by inheritance the partials that are in de views/application folder, but we don´t have it when are in views/application/other_folder. I wondered if it would be useful to us, I can have more organi

[Rails] Re: how to update rails 2 to rails 3

2012-07-11 Thread Aliaksei Sinkevich
Try to run command rails _3.2.6_ --version -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/D-JidKhEtmEJ. To post to this group, send email to ru

Re: [Rails] expert advice needed on realtime events in ruby on rails application?

2012-07-11 Thread Douglas Lovell
This on-line game of go by Ryan Bates uses a background process to compute moves when playing against the computer. https://github.com/ryanb/govsgo It uses Resque Doug Douglas Lovell www.wbreeze.com On 07/11/2012 05:48 AM, rubybox wrote: In my app I have the need to be able to have "realtim

Re: [Rails] The most efficient way to create gem/engine/plugin

2012-07-11 Thread Weston Platter
The enginex strategy (https://github.com/josevalim/enginex) is only good for Rails 3.0. As the README.md says, engines for Rails 3.1+ should be written using this strategy, http://guides.rubyonrails.org/plugins.html *Weston Platter* Rails Freelancer Dev www.github.com/westonplatter wes...@think

[Rails] Re: passenger not installing

2012-07-11 Thread Aliaksei Sinkevich
I've successfully installed passenger gem on Windows using DevKit -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/mRntIhFVC3UJ. To post to this g

[Rails] Paperclip duplicates uploaded images

2012-07-11 Thread yaniv pr
Hi, I'm using rails3 with paperclip to upload multiple images as in http://www.emersonlackey.com/article/paperclip-with-rails-3 The problem is, every image is duplicated upon create/update, that is, saved twice to the db (and afterwards displayed twice in the view as a result) In other pages,

[Rails] Run performance tests without dumping database

2012-07-11 Thread Andy Chambers
Hi, I'm trying to build a simple performance test on a rails 3 app that operates on a large database (~150GB). We copy production data to our dev/test setup every night so that we have a realistic environment for development. I followed the guide on creating a test and tried to run it using

[Rails] Re: passenger not installing

2012-07-11 Thread Aliaksei Sinkevich
Have you tried to install DevKit? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/3kqHdlldC_kJ. To post to this group, send email to rubyonrails-

[Rails] Re: Dojo with Rails

2012-07-11 Thread tcfunk
I like that no one actually answered this question and started talking about javascript optimization instead. I'm just bumping this, as I would be interested in knowing the same thing as the OP, if anyone has as clue. -- You received this message because you are subscribed to the Google Groups

[Rails] How to Debug

2012-07-11 Thread Amardeep Singh
Hello i am facing problem in Debugging in aptana studio. plz help me in debugging the code..And tell me Which is best IDE for Ror development. I m New to Ror -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send ema

[Rails] Rails 3.x no request parameters in log

2012-07-11 Thread Pavel S
Hi, Using rails 2.x I used to get request parameters in the log. I have just upgraded to the latest rails and I only see the url and the db queries. Debug level is warn. I have to set something additional to see the request parameters? Thanks in advance, Pavel S -- You received this messag

Re: [Rails] how to update rails 2 to rails 3

2012-07-11 Thread Hassan Schroeder
On Wed, Jul 11, 2012 at 9:28 AM, aldm alert wrote: > But then I try to install rails 3 with rvm gem install rails, it shows > rails 3.2.6 is sucesfully installed but when I type rails -v it shows > 2.8.6 again. > > When i type gem rails list it shows that 2.8.6 and 3.2.6 are installed, > but how

Re: [Rails] api.rubyonrails.org previous versions?

2012-07-11 Thread Walter Lee Davis
On Jul 11, 2012, at 3:12 PM, Josh wrote: > First, let me say that api.rubyonrails.org is awesome. Whoever is hosting it > - thank you. It blows all the other api tools out of the water in terms of > usability. Yay! > > That said, how come http://api.rubyonrails.org/v3.0.15 doesn't show me t

[Rails] api.rubyonrails.org previous versions?

2012-07-11 Thread Josh
First, let me say that api.rubyonrails.org is awesome. Whoever is hosting it - thank you. It blows all the other api tools out of the water in terms of usability. Yay! That said, how come http://api.rubyonrails.org/v3.0.15 doesn't show me the 3.0.15 docs? 3.0.x is still actively maintained

[Rails] Re: Rails 4 Beta Information

2012-07-11 Thread first last
I haven't found really any info on Rails 4, but I've plugins will be changing. See this post for more info, http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released/ -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google G

[Rails] how to update rails 2 to rails 3

2012-07-11 Thread aldm alert
Hi, I m new to rails. I have funny things when trying to change version of rails. I have installed ruby 1.6.5.1 and ruby 1.9.3. I installed RVM and everything correctly. When i change ruby version with rvm use 1.9.3 it succesfully change ruby, when type ruby -v it shows 1.9.3 . But then I try to

[Rails] :bcc works in development but not in production

2012-07-11 Thread Tsvetelina Borisova
I can send emails in development and production but :bcc only works in development. I am with rails 3.0.9 and ruby 1.9.2 and I use delayed_job3.0.pre. Can someone help me? Thanks in advance :) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" gr

Re: [Rails] Does whenever gem work in Rails 3

2012-07-11 Thread Kevin Bedell
Agreed - Redis/Resque with 'resque_mailer' is your best bet for that app. https://github.com/zapnap/resque_mailer -kevin On Wed, Jul 11, 2012 at 6:14 AM, Tom Meinlschmidt wrote: > use resque gem. it works like charm (rails3) > > tom > > On Jul 11, 2012, at 12:04 , paul h wrote: > >> >> >> On W

[Rails] Re: active record association: has only one.

2012-07-11 Thread Rick
Go to http://guides.rubyonrails.org/association_basics.html and you'll find what you need. As a side note, you should bookmark http://guides.rubyonrails.org/ and get familiar with its' contents. Rick On Wednesday, July 11, 2012 9:47:55 AM UTC-4, Ruby-Forum.com User wrote: > > Hello guys! > I'

[Rails] Re: Remote Job for ROR programmer

2012-07-11 Thread Asim Raval
Hi, We are software firm and we can provide you resource for ROR. I have dropped an email, Please let me know your thoughts regarding the same. Awaiting for the response from your end with good hope. Regards Asim -- Posted via http://www.ruby-forum.com/. -- You received this message because

[Rails] active record association: has only one.

2012-07-11 Thread Piliman Piliman
Hello guys! I'm new on RoR. I'm testing an application for married person using this source https://github.com/serv/Ruby-on-Rails-Tutorial-by-Michael-Hartl--v3.2- The goal is: - A sign-in person can only get only one follower ( his wife or husband) Where should i modified this app for this feature

[Rails] Remote Job for ROR programmer

2012-07-11 Thread Miłosz S.
We are looking for Ruby on Rails programmer, who will be responsible for co-programming our startup service. We are small and young group of web developers, who have gained investor for our startup. We are looking for hire someone like you for at least few months in full-time job. We are going to

Re: [Rails] Does whenever gem work in Rails 3

2012-07-11 Thread Tom Meinlschmidt
use resque gem. it works like charm (rails3) tom On Jul 11, 2012, at 12:04 , paul h wrote: > > > On Wednesday, July 11, 2012 9:24:14 AM UTC+1, honey ruby wrote: > Hi i want to send mails by scheduling it. i found whenever gem but i wanna > know is does it work in rails3 > > > Thanks in adva

[Rails] Re: Does whenever gem work in Rails 3

2012-07-11 Thread paul h
On Wednesday, July 11, 2012 9:24:14 AM UTC+1, honey ruby wrote: > > Hi i want to send mails by scheduling it. i found whenever gem but i wanna > know is does it work in rails3 > > > Thanks in advance > No idea, never tried, but if I wanted to know, the first thing I would do would be to instal

[Rails] expert advice needed on realtime events in ruby on rails application?

2012-07-11 Thread rubybox
In my app I have the need to be able to have "realtime actions" - be able to redirect a user to location X on time Y - be able to send data from resque like a jquery function Im currently using - resque for running background deamon that can execute on Time Y anything - faye to

[Rails] Does whenever gem work in Rails 3

2012-07-11 Thread honey ruby
Hi i want to send mails by scheduling it. i found whenever gem but i wanna know is does it work in rails3 Thanks in advance -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google