Re: [Rails] Re: Library management system in ROR

2011-09-10 Thread Amrit Pal Pathak
On Sun, Sep 11, 2011 at 1:43 AM, Robert Walker wrote: > amritpal p. wrote in post #1021198: > > hey everyone > > I have to work on a project of library > > management > > system .Can anyone please suggest me a gud library manangement system > > already build in ROR so that

[Rails] Re: Library management system in ROR

2011-09-10 Thread Robert Walker
amritpal p. wrote in post #1021198: > hey everyone > I have to work on a project of library > management > system .Can anyone please suggest me a gud library manangement system > already build in ROR so that i can work on it and can customized > according to the requirements

[Rails] Re: bundle install question

2011-09-10 Thread Robert Walker
Craig White wrote in post #1021199: > Having a problem... > > I am working on a project where I am using bundle & Gemfile and it's > working OK. The gems are all installed and a few git based gems are in > my ~/.bundler/ruby/1.8 directory which is OK I guess. > > When I did an svn commit and checke

[Rails] Paperclip saving/retrieving files above public/

2011-09-10 Thread Keith Raymond
Hello all, I'm quite baffled/agitated by this. I'm using paperclip to allow upload of images to my application. This is working fine, it's saving the the images exactly where its supposed to and it's saving the image objects as its supposed to. The problem is that I can't display these images i

[Rails] bundle install question

2011-09-10 Thread Craig White
Having a problem... I am working on a project where I am using bundle & Gemfile and it's working OK. The gems are all installed and a few git based gems are in my ~/.bundler/ruby/1.8 directory which is OK I guess. When I did an svn commit and checked it out on another user's account, I then ran '

[Rails] Library management system in ROR

2011-09-10 Thread Amrit Pal Pathak
hey everyone I have to work on a project of library management system .Can anyone please suggest me a gud library manangement system already build in ROR so that i can work on it and can customized according to the requirements. -- Thanks Regards Amrit Pal amritpalpath

[Rails] Re: Rails development advice

2011-09-10 Thread Matt Slay
On Sep 10, 4:28 am, Guy wrote: > Hello, > ... > I didn't find any rails specific IDE so any IDE needs tinkering > of things well beyond my newbie skills. For a good Ruby/Rails IDE, check out RubyMine. http://www.jetbrains.com/ruby/ -- You received this message because you are subscribed to t

Re: [Rails] searching the an array of objects

2011-09-10 Thread Dave Aronson
On Sat, Sep 10, 2011 at 21:36, jdkealy wrote: > I have a complicated query for "matches" > > one criteria is that one's matches should not contain someone from > your blocked list. > > in testing the matches method, i'm not sure how to test this. > > u = User.find(1) > u.blockUser(2) > u.matches.

[Rails] searching the an array of objects

2011-09-10 Thread jdkealy
Hi, I'm trying to write some tests. I have a complicated query for "matches" one criteria is that one's matches should not contain someone from your blocked list. in testing the matches method, i'm not sure how to test this. u = User.find(1) u.blockUser(2) u.matches.where(:user_id=>2).should b

[Rails] Re: Finding HTML attributes with jQuery in Rails 3.1

2011-09-10 Thread Frederick Cheung
On Sep 10, 8:17 pm, 7stud -- wrote: > Frederick Cheung wrote in post #1021129: > > > On Sep 10, 12:18pm, dwormuth wrote: > >> "operations" )) %>").show() > >> $("#services").html("<%= escape_javascript(render(:partial => foo )) > >> %>").show() > > >> or > > >> $("#services").html("<%= escape_j

[Rails] Re: Finding HTML attributes with jQuery in Rails 3.1

2011-09-10 Thread 7stud --
Frederick Cheung wrote in post #1021129: > On Sep 10, 12:18pm, dwormuth wrote: >> "operations" )) %>").show() >> $("#services").html("<%= escape_javascript(render(:partial => foo )) >> %>").show() >> >> or >> >> $("#services").html("<%= escape_javascript(render(:partial => $ >> (this).data("sectio

[Rails] Re: Rails development advice

2011-09-10 Thread Daniel Nachbar
On Sep 10, 5:28 am, Guy wrote: > Hello, > > I'm new to rails but not new to programming. Yet I feel the lack of an > organized environment for development is somewhat hindering my ability > to learn rails thoroughly (3 console windows, text editor with a bunch > of plugins, database editor and vie

Re: [Rails] Re: hosting ror app in XAMPP

2011-09-10 Thread Walter Lee Davis
On Sep 10, 2011, at 4:28 AM, manikyala rao padala wrote: i'm trying to host my ROR app in xampp in windowsXP. i'm getting Welcome aboard You’re riding Ruby on Rails! Home page but when i'm clicking about your application environment link i'm getting "Access forbidden!" this is my prblm. can any

[Rails] Re: rails 3.1 assets:precompile deployment

2011-09-10 Thread Michael Rigart
@aldo, thanks for the info. I'll look into it. But it seems that I don't find any problems atm. Meanwhile, I've been playing a bit around to see what happens during the precompilation task. (I used the task from rails head for testing, not the buggy one included in rails 3.1). I have noticed t

[Rails] Re: Finding HTML attributes with jQuery in Rails 3.1

2011-09-10 Thread dwormuth
Thanks for the quick response. I could use a switch/case structure to handle the $("#services").html("<%= escape_javascript(render(:partial => "a" )) %>").show() call as there are only 6 partials I need. I have 6 links on the page that only vary by the "section" value. I still need some guidance

Re: [Rails] hosting ror app using xampp on windows OS

2011-09-10 Thread Colin Law
On 10 September 2011 16:28, manikyala rao padala wrote: > HI ALL, > it's so frustuating to me from so many days--hosting ror app in apache > on win os. > i installed xampp and running ror apps using webrick server . > but when comes to hosting that app into apache i can't make it.i gone > through

[Rails] hosting ror app using xampp on windows OS

2011-09-10 Thread manikyala rao padala
HI ALL, it's so frustuating to me from so many days--hosting ror app in apache on win os. i installed xampp and running ror apps using webrick server . but when comes to hosting that app into apache i can't make it.i gone through the so many sites can anyone give me an assistance to solve this pro

[Rails] Re: rbenv and cap deploy

2011-09-10 Thread jeb
When I removed gem 'bundler' from the Gemfile it worked! On 10 Sep, 16:15, jeb wrote: > Hi, > > I have installed rbenv on my development machine and got it working. > For now I run 1.8.7. > But when I try to do cap deploy i get an error: > /System/Library/Frameworks/Ruby.framework/Versions/1.8/

Re: [Rails] Re: rails 3.1 assets:precompile deployment

2011-09-10 Thread Aldo Nievas
@aldo: I also use the default capistrano recipe, so that can't be the actual problem. Can I ask why you include the sprockets gem through source in your Gem file? sprockets should already be loaded through rails, or is there a bugfix in the sprockets head that causes this problem? Yes there was a

[Rails] rbenv and cap deploy

2011-09-10 Thread jeb
Hi, I have installed rbenv on my development machine and got it working. For now I run 1.8.7. But when I try to do cap deploy i get an error: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- bu

Re: [Rails] OpenID advice

2011-09-10 Thread Mike Clark
On Sat, Sep 10, 2011 at 9:29 AM, Leonardo Mateo wrote: > On Sat, Sep 10, 2011 at 1:14 AM, Martin Wawrusch > wrote: > > omniauth + devise gems should do the trick. > Is there some kind of dependency on devise? > I would like to avoid devise for this project, I'm not a big fan of > it, also I think

[Rails] Re: Finding HTML attributes with jQuery in Rails 3.1

2011-09-10 Thread Frederick Cheung
On Sep 10, 12:18 pm, dwormuth wrote: > I'm having trouble wrapping my head around the proper syntax to have > jQuery (in an .js file) grab an HTML attribute and use the value of > that attribute to load a partial. > > HTML fragment: > > > jQuery string (now setting a static partial, I need this

Re: [Rails] OpenID advice

2011-09-10 Thread Leonardo Mateo
On Sat, Sep 10, 2011 at 1:14 AM, Martin Wawrusch wrote: > omniauth + devise gems should do the trick. Is there some kind of dependency on devise? I would like to avoid devise for this project, I'm not a big fan of it, also I think it's a bit too much for this. I liked omniauth, though Thanks a lo

Re: [Rails] OpenID advice

2011-09-10 Thread Leonardo Mateo
On Fri, Sep 9, 2011 at 11:23 PM, Mike Clark wrote: > > > On Fri, Sep 9, 2011 at 8:49 PM, Leonardo Mateo > wrote: >> >> Hi guys, >> I have to implement a login using a Google account | Twitter account | >> Windows Live account | Facebook account >> I've never done this before and I've been researc

Re: [Rails] Rails development advice

2011-09-10 Thread Michael Pavling
On 10 September 2011 10:28, Guy wrote: > Yet I feel the lack of an > organized environment for development is somewhat hindering my ability > to learn rails thoroughly (3 console windows, text editor with a bunch > of plugins, database editor and viewer, browser window opened and all > this with a

[Rails] Re: Dojo with 3.1?

2011-09-10 Thread rtsinani
hi Wojtek, did you get anywhere with this. I'm trying to use dojo with rails 3.1 asset pipeline & coffeescript as well and struggling for a solution at the moment. Thanks. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this dis

[Rails] Rails development advice

2011-09-10 Thread Guy
Hello, I'm new to rails but not new to programming. Yet I feel the lack of an organized environment for development is somewhat hindering my ability to learn rails thoroughly (3 console windows, text editor with a bunch of plugins, database editor and viewer, browser window opened and all this wit

[Rails] Re: Captcha conception

2011-09-10 Thread Frederick Cheung
On Sep 10, 12:35 pm, Misha Ognev wrote: > Fred, now I'm> You'd probably need to either switch > > to a singleton resource, make those actions collection actions, use > > match rather than creating a resource. > > Can you explain example, what I must to do? Guide "Rails routing from > outside in"

[Rails] Re: Captcha conception

2011-09-10 Thread Misha Ognev
Fred, now I'm > You'd probably need to either switch > to a singleton resource, make those actions collection actions, use > match rather than creating a resource. Can you explain example, what I must to do? Guide "Rails routing from outside in" not gived clarity to me. 3) So, when I create a met

[Rails] Finding HTML attributes with jQuery in Rails 3.1

2011-09-10 Thread dwormuth
I'm having trouble wrapping my head around the proper syntax to have jQuery (in an .js file) grab an HTML attribute and use the value of that attribute to load a partial. HTML fragment: jQuery string (now setting a static partial, I need this to be dynamic) $("#services").html("<%= escape_javasc

[Rails] Re: Captcha conception

2011-09-10 Thread Misha Ognev
Thanks, Fred. > You might also want to look at the recaptcha captcha - it's very easy > to integrate But I want my own captcha. -- 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

[Rails] Re: rails 3.1 assets:precompile deployment

2011-09-10 Thread Michael Rigart
@jim: precompiling them locally seems indeed the best way at the moment. But I'm still curious what the reason is that precompiling on server takes that long. I'm setting up a test so I can investigate it a bit further. But thanks for the tip, it's a nice workaround. @aldo: I also use the defau

[Rails] Re: hosting ror app in XAMPP

2011-09-10 Thread manikyala rao padala
i'm trying to host my ROR app in xampp in windowsXP. i'm getting Welcome aboard You’re riding Ruby on Rails! Home page but when i'm clicking about your application environment link i'm getting "Access forbidden!" this is my prblm. can any one help me to solve this prblm. Regards, manik On Sep 9,

Re: [Rails] OpenID advice

2011-09-10 Thread Mike Clark
On Fri, Sep 9, 2011 at 8:49 PM, Leonardo Mateo wrote: > Hi guys, > I have to implement a login using a Google account | Twitter account | > Windows Live account | Facebook account > I've never done this before and I've been researching a bit about the > available gems. > Does anyone has any recomm

Re: [Rails] Passing arrays between controllers/views

2011-09-10 Thread Colin Law
On 10 September 2011 00:41, Toby Rodwell wrote: > I have a controller that produces (through its associated 'view' > displays summary information of) a number of arrays.  On that view page > I would like links to other pages, one per array, which shows more > detailed information on the array in q