[Rails] [JOB] Sr. Rails Developer, NYC | 120-150k

2012-10-16 Thread Beau G.
This is a full time, on-site, salaried Senior Ruby on Rails Developer position paying $120,000-$150,000 depending on experience + benefits. No telecommuting allowed. US Citizens or Green Card holders only please. Local candidates strongly preferred, but candidates interested in relocating

[Rails] Radiant could not be initialized. Please verify that vendor/radiant contains a complete copy of the

2012-10-16 Thread Nirav
hi i am working on configuring existing application on locally as well as server but i got an error i use radaint 0.8.2, rails 2.3.4, ruby 1.8.7 and rubygems 1.4.2. script/server -e production -p 3001 Radiant could not be initialized. Please verify that vendor/radiant contains a complete

[Rails] Re: Jasper reports and iReport

2012-10-16 Thread Anushank Lal
Herman Jansen wrote in post #628820: I still have to try the suggestion from Fred but I got it to work on my development machine. I had to jump through some loops, but it does work. I can now develop and test a report with iReport and call it from Ruby on Rails. If anyone is interested let

[Rails] Re: Jasper reports and iReport

2012-10-16 Thread Anushank Lal
anusha c. wrote in post #1048589: Herman Jansen wrote in post #628820: I still have to try the suggestion from Fred but I got it to work on my development machine. I had to jump through some loops, but it does work. I can now develop and test a report with iReport and call it from Ruby on

[Rails] `method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class

2012-10-16 Thread Nirav
hi i am using radiant 0.8.2 , rails 2.3.4, ruby 1.8.7 and rubygems 1.4.2. and i can't able to run my existing application. error occurred : run command for server script/server -e production -p 3001 error: = Booting WEBrick = Rails 2.3.4 application starting on http://0.0.0.0:3001

[Rails] Rails form submission not validating

2012-10-16 Thread ruby rails
I have a form with only one field called secretcode to submit. But when I submit it, the data is saved. But I need to do form validation for this field. I have given validates_presence_of :secret in the Secretcode Model. when I submit it without entering anything in secret code field, then it is

Re: [Rails] Rails form submission not validating

2012-10-16 Thread Colin Law
On 16 October 2012 11:23, ruby rails li...@ruby-forum.com wrote: I have a form with only one field called secretcode to submit. But when I submit it, the data is saved. But I need to do form validation for this field. I have given validates_presence_of :secret in the Secretcode Model. when I

[Rails] ActionController::InvalidAuthenticityToken in Quote requestsController#create

2012-10-16 Thread Nirav
hi i am having problem with authentication please any one help me to figure out problem Processing QuoteRequestsController#create (for 127.0.0.1 at 2012-10-16 16:28:32) [POST] Parameters: {controller=quote_requests, quote_request={move_date_flexible=false, room_counts={9=0, 8=0, 5=0, 2=0,

Re: [Rails] `method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class

2012-10-16 Thread Thota praneeth
have you tried this command : rake gems:refresh_specs and have you install the paginate gem (gem install tism-will_paginate) -- 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

[Rails] how to display the images in browser other than the storage path i.e.., public folder (ASAP)

2012-10-16 Thread BalaRaju Vankala
hi i am having a doubt in changing the path for attached file i.e..,for uploading photos and files ..by default the path is :rails_root/public/system/ and i want to change the path as ~/apps/Blog/data/attached/ BLOG refers to my project app name after making the changes the image or file i

Re: [Rails] `method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class

2012-10-16 Thread Norbert Melzer
From authlogic readme: ** Please note the latest version is compatible with rails 3 only. Please see the rails2 branch for Rails 2 compatibility. Did you used the rails branch or have you installed it as a gem? The gem will be probably incompatible with your rails version. Am 16.10.2012 10:40

[Rails] Re: Rails form submission not validating

2012-10-16 Thread ruby rails
Colin Law wrote in post #1079996: On 16 October 2012 11:23, ruby rails li...@ruby-forum.com wrote: I have a form with only one field called secretcode to submit. But when I submit it, the data is saved. But I need to do form validation for this field. I have given validates_presence_of :secret

[Rails] Bundle Install

2012-10-16 Thread Avi
Hello All, I am getting this error while running bundle install from console... I tried to install libyaml libtool reinstalled all ruby. But still I am getting the same error :- Ruby - 1.9.3-p194 Jruby- 1.6.8 Rails - 3.2.6 Unfortunately, a fatal error has occurred. Please see the

Re: [Rails] Bundle Install

2012-10-16 Thread Jim Ruther Nill
On Tue, Oct 16, 2012 at 8:17 PM, Avi aavinash.beh...@gmail.com wrote: Hello All, I am getting this error while running bundle install from console... I tried to install libyaml libtool reinstalled all ruby. But still I am getting the same error :- Ruby - 1.9.3-p194 Jruby- 1.6.8

Re: [Rails] Re: Rails form submission not validating

2012-10-16 Thread Colin Law
On 16 October 2012 12:49, ruby rails li...@ruby-forum.com wrote: Colin Law wrote in post #1079996: On 16 October 2012 11:23, ruby rails li...@ruby-forum.com wrote: I have a form with only one field called secretcode to submit. But when I submit it, the data is saved. But I need to do form

Re: [Rails] how to display the images in browser other than the storage path i.e.., public folder (ASAP)

2012-10-16 Thread Colin Law
On 16 October 2012 12:30, BalaRaju Vankala foreverbal...@gmail.com wrote: hi i am having a doubt in changing the path for attached file i.e..,for uploading photos and files ..by default the path is :rails_root/public/system/ and i want to change the path as ~/apps/Blog/data/attached/ BLOG

[Rails] Re: `method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class

2012-10-16 Thread Nirav
hi norbert, Thanx for reply, actually i have existing application and i have to configure it locally as well as on server so it needs authlogic gem but i have install authlogic 2.1.1 which is compatible to rails 2.3.4. and if i am wrong, please guide me. is my direction is write? Thanking

[Rails] Re: `method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class

2012-10-16 Thread Nirav
Hi Norbert, Thank You for reply, i have another problem facing in application. do you help me to figure it out. https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-talk/AG7gqElayS0 see the link above. please give me some needful tricks to solve it. On Tuesday, October 16,

Re: [Rails] Bundle Install

2012-10-16 Thread Avi
I executed the command :- But I am getting this. I am in Ubuntu 10.10 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libssl1.0.0 E: Couldn't find any package by regex 'libssl1.0.0' On Tuesday, October 16, 2012 5:58:27

Re: [Rails] `method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class

2012-10-16 Thread Nirav
Hi Praneeth, yes i installed will_paginate version (3.0.3). and issue is in environment.rb . thanking you but now i facing problem related to authentication of application https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-talk/AG7gqElayS0 see the link above when i click on

Re: [Rails] how to display the images in browser other than the storage path i.e.., public folder (ASAP)

2012-10-16 Thread BalaRaju Vankala
i didnt get you... how to change paper clip default url On Tue, Oct 16, 2012 at 6:01 PM, Colin Law clan...@googlemail.com wrote: On 16 October 2012 12:30, BalaRaju Vankala foreverbal...@gmail.com wrote: hi i am having a doubt in changing the path for attached file i.e..,for

Re: [Rails] Bundle Install

2012-10-16 Thread Colin Law
On 16 October 2012 13:42, Avi aavinash.beh...@gmail.com wrote: I executed the command :- But I am getting this. I am in Ubuntu 10.10 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libssl1.0.0 E: Couldn't find any package

Re: [Rails] Bundle Install

2012-10-16 Thread Jim Ruther Nill
On Tue, Oct 16, 2012 at 8:42 PM, Avi aavinash.beh...@gmail.com wrote: I executed the command :- But I am getting this. I am in Ubuntu 10.10 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libssl1.0.0 E: Couldn't find any

Re: [Rails] Bundle Install

2012-10-16 Thread Jordon Bedwell
On Tue, Oct 16, 2012 at 7:47 AM, Colin Law clan...@googlemail.com wrote: sudo apt-get install openssl libssl-dev To add to what Colin said when I can't recognize a lib right off the bat I do something like: apt-cache search libssl |grep -- -dev then pick the one that is right apt-cache show

Re: [Rails] Bundle Install

2012-10-16 Thread Avi
I tried with that. It is installing. But getting the same error while bundle install. On Tuesday, October 16, 2012 6:18:03 PM UTC+5:30, Colin Law wrote: On 16 October 2012 13:42, Avi aavinas...@gmail.com javascript: wrote: I executed the command :- But I am getting this. I am in Ubuntu

Re: [Rails] how to display the images in browser other than the storage path i.e.., public folder (ASAP)

2012-10-16 Thread Colin Law
On 16 October 2012 13:47, BalaRaju Vankala foreverbal...@gmail.com wrote: i didnt get you... how to change paper clip default url Please don't top post, it makes it difficult to follow the thread. Insert your reply at appropriate points in the previous message. Thanks. I don't use

Re: [Rails] how to display the images in browser other than the storage path i.e.., public folder (ASAP)

2012-10-16 Thread Jordon Bedwell
On Tue, Oct 16, 2012 at 7:57 AM, Colin Law clan...@googlemail.com wrote: I don't use paperclip but my understanding that it is not normally possible to save outside of the public folder. Add the path to your assets: config.assets.paths.push(File.expand_path(~/my/path)) -- You received this

Re: [Rails] how to display the images in browser other than the storage path i.e.., public folder (ASAP)

2012-10-16 Thread Jim Ruther Nill
On Tue, Oct 16, 2012 at 8:47 PM, BalaRaju Vankala foreverbal...@gmail.comwrote: i didnt get you... how to change paper clip default url On Tue, Oct 16, 2012 at 6:01 PM, Colin Law clan...@googlemail.com wrote: On 16 October 2012 12:30, BalaRaju Vankala foreverbal...@gmail.com wrote:

Re: [Rails] Bundle Install

2012-10-16 Thread Colin Law
On 16 October 2012 13:57, Avi aavinash.beh...@gmail.com wrote: I tried with that. It is installing. But getting the same error while bundle install. Is rvm working ok? Does rvm info show sensible data? Have you added the line to .bashrc as indicated in rvm notes Colin On Tuesday, October

Re: [Rails] how to display the images in browser other than the storage path i.e.., public folder (ASAP)

2012-10-16 Thread Colin Law
On 16 October 2012 14:04, Jim Ruther Nill jvn...@gmail.com wrote: On Tue, Oct 16, 2012 at 8:47 PM, BalaRaju Vankala foreverbal...@gmail.com wrote: i didnt get you... how to change paper clip default url On Tue, Oct 16, 2012 at 6:01 PM, Colin Law clan...@googlemail.com wrote: On 16

Re: [Rails] Bundle Install

2012-10-16 Thread Avi
Yes, rvm is working fine. version - 1.16.13 I have added in .bashrc file also . But I don't know why I am getting this error. On Tuesday, October 16, 2012 6:38:36 PM UTC+5:30, Colin Law wrote: On 16 October 2012 13:57, Avi aavinas...@gmail.com javascript: wrote: I tried with that. It is

Re: [Rails] Bundle Install

2012-10-16 Thread Jordon Bedwell
On Tue, Oct 16, 2012 at 8:45 AM, Avi aavinash.beh...@gmail.com wrote: Yes, rvm is working fine. version - 1.16.13 I have added in .bashrc file also . But I don't know why I am getting this error. What is the output of ldconfig -p? You should see something like: ldconfig -p |grep libssl

[Rails] How to avoid an attribute without passing it to post in formtastic

2012-10-16 Thread Ramesh C.
I am developing rails application. I have a check box in the form like: td%= b.check_box :chkbx, label: false, checked: false %/td While submitting the form. I need to avoid passing checkbox name argument in the post. How to avoid checkbox attribute from passing it to post in formtastic? --

[Rails] Generated SQl-Query using joins and default_scope

2012-10-16 Thread Noxx
Hi there. I hope someone can help me and give a tipp how to solve this issue. I have three models, which you can see below (I pasted only the necessary parts): *class User has_many :attachments end class Folder has_many :attachments end class Attachment belongs_to :folder belongs_to

[Rails] [JOB] Senior Rails Developer, New York City | 120-150k

2012-10-16 Thread OSS
*** Junior and mid-level developers needed as well. Relocation ok! This is a full time, on-site, salaried Senior Ruby on Rails Developer position paying $120,000-$150,000 depending on experience + benefits. No telecommuting allowed. US Citizens or Green Card holders only please. Local

[Rails] Re: asset pipeline slight rethink?

2012-10-16 Thread Frederick Cheung
On Tuesday, October 16, 2012 2:04:38 AM UTC+1, Ruby-Forum.com User wrote: The default setting for config.assets.precompile returns true (so the asset will be precompiled) on any files *not* ending with .js and .css with the exception of application.css and application.js (which do get

[Rails] Re: MongoDB and Rails 3

2012-10-16 Thread Thiago Rossi
I think I didn't realise ActiveRecord and ActiveModel were different things. Thank you! Migration was a good way to solve that problem with schemes being update, but when it becomes famous we stop using it. LOL On Wednesday, 10 October 2012 21:48:16 UTC+1, Frederick Cheung wrote: On

Re: [Rails] Generated SQl-Query using joins and default_scope

2012-10-16 Thread Colin Law
On 15 October 2012 21:08, Noxx mailn...@googlemail.com wrote: Hi there. I hope someone can help me and give a tipp how to solve this issue. I have three models, which you can see below (I pasted only the necessary parts): class User has_many :attachments end class Folder has_many

Re: [Rails] Bundle Install

2012-10-16 Thread Avi
I uninstalled rvm, ruby, gems everything... Then I installed a fresh from start. It seems to be working... Thanks all for your replies to help me out. :-) On Tuesday, October 16, 2012 7:19:55 PM UTC+5:30, Jordon Bedwell wrote: On Tue, Oct 16, 2012 at 8:45 AM, Avi aavinas...@gmail.com

[Rails] Re: No stacktrace from faulty view code

2012-10-16 Thread Matt Jones
On Monday, 15 October 2012 13:51:42 UTC-4, Ruby-Forum.com User wrote: Hello I am having trouble with my rails environment. Everything works fine excepts that errors in view code does not show a stacktrace, just the We're sorry, but something went wrong. page, and the log just shows a

[Rails] Re: Radiant could not be initialized. Please verify that vendor/radiant contains a complete copy of the

2012-10-16 Thread Matt Jones
On Tuesday, 16 October 2012 03:23:00 UTC-4, Nirav wrote: hi i am working on configuring existing application on locally as well as server but i got an error i use radaint 0.8.2, rails 2.3.4, ruby 1.8.7 and rubygems 1.4.2. script/server -e production -p 3001 Radiant could not be

Re: [Rails] No stacktrace from faulty view code

2012-10-16 Thread Colin Law
On 15 October 2012 18:49, Daniel Sundqvist li...@ruby-forum.com wrote: Hello I am having trouble with my rails environment. Everything works fine excepts that errors in view code does not show a stacktrace, just the We're sorry, but something went wrong. page, and the log just shows a 500

Re: [Rails] Generated SQl-Query using joins and default_scope

2012-10-16 Thread Noxx
Hi Colin, Thank you for your reply. Sorry that I forgot to mention the versions I'm using: My Ruby version is ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux] (installed via rvm) and I'm using Rails v3.2.8. However, I found the problem. I tried to test out if something changes if I

[Rails] Re: Problem setting log level

2012-10-16 Thread Christian G.
Hi Daniel, i'm facing the same problem and i'm using ubuntu 12.04, rvm, ruby 1.9.2-p320. Do you have a similar setup and os? Christian -- 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

Re: [Rails] Problem setting log level

2012-10-16 Thread Walter Lee Davis
That feels like a regression. Can you file a bug/issue on the appropriate library? Here's what I see when I repeat this with Rails 3.0.latest (running in production, but with consider_all_requests_local set to true): https://gist.github.com/3900681 Walter On Sep 24, 2012, at 3:55 PM, Daniel

[Rails] form tag is self-closing before input fields .. (HAML generator used)

2012-10-16 Thread Erwin
The form is inside a table, enclosing a tr = form_tag admins_backoffice_dashboards_path, :remote =true do %tr.search %th= link_to t(:clear), #, :id = :clearFilter %th= select_tag :role, options_from_collection_for_select(Role.global, :id,

Re: [Rails] form tag is self-closing before input fields .. (HAML generator used)

2012-10-16 Thread Hassan Schroeder
On Tue, Oct 16, 2012 at 10:43 AM, Erwin yves_duf...@mac.com wrote: The form is inside a table, enclosing a tr That's not legal markup. Either wrap the form around the entire table or put it completely inside a cell. -- Hassan Schroeder hassan.schroe...@gmail.com

[Rails] Re: Problem setting log level

2012-10-16 Thread Christian G.
It seems (at least on ubuntu), that umlauts or blanks in the path of the rails app, will cause rails to show the We're sorry,... screen without any backtrace. By removing the umlauts and blanks the right backtrace is showing up. Hope this helps. Christian -- Posted via

[Rails] Re: Rails 3 - how to defer parsing of JavaScript

2012-10-16 Thread Nick Snels
Hi Geoffrey, I am going to try it out and see whether or not Google considers this as being deferred. Kind regards, Nick -- 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] Rails 3 + fb_graph how to get access token to post to my own Facebook page

2012-10-16 Thread Nick Snels
I am using Rails 3 + fb_graph to post to my own Facebook page. I have code that works, but it uses an access token that only works for a couple of hours. And it is very annoying to refresh this access token a couple of times a day. So I registrated for a FB app. I now have: my_app =

Re: [Rails] No stacktrace from faulty view code

2012-10-16 Thread Walter Lee Davis
On Oct 16, 2012, at 11:14 AM, Matt Jones wrote: On Monday, 15 October 2012 13:51:42 UTC-4, Ruby-Forum.com User wrote: Hello I am having trouble with my rails environment. Everything works fine excepts that errors in view code does not show a stacktrace, just the We're sorry, but

[Rails] Re: form tag is self-closing before input fields .. (HAML generator used)

2012-10-16 Thread Erwin
Thanks , I had that feeling... I'll test it by tomorrow ... is there any links related to this being illegal ? just for my notetaker pad ... On 16 oct, 19:55, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Tue, Oct 16, 2012 at 10:43 AM, Erwin yves_duf...@mac.com wrote: The form is

[Rails] Rails CMS best fit

2012-10-16 Thread Erwin
I already have a project with multiple subdomains under development ( Rails 3.2.8 , MySQL, Haml , Devise , Cancan ) www.myproject.com is the main site many subdomains will be created : sub1.myproject.com, sub2.myproject.com, sub3.myproject.com, ... We need now to add CMS functionalities to

Re: [Rails] Re: form tag is self-closing before input fields .. (HAML generator used)

2012-10-16 Thread Hassan Schroeder
On Tue, Oct 16, 2012 at 3:15 PM, Erwin yves_duf...@mac.com wrote: Thanks , I had that feeling... I'll test it by tomorrow ... is there any links related to this being illegal ? just for my notetaker pad ... The HTML 4.01 DTDs are what I usually refer to when in doubt:

Re: [Rails] RoR performance

2012-10-16 Thread Khai Doan
I will keep this in mind. Thank you both for your reply. On Friday, October 5, 2012 3:18:20 AM UTC-7, Brett McHargue wrote: Yes, what is good for goose is not necessarilly good for a very large gander... or something like that. The important thing when starting out is just shipping it -

[Rails] Re: Re: A custom method for models

2012-10-16 Thread Soichi Ishida
That won't work properly when you come to do place.flight_names, though the code you have so far may be ok. You did not look at the examples in the guide carefully enough. Check out section 2.10 and you will see that you need something like has_many :departure_flight_names, :class_name =