Re: [Rails] Re: user registration form example?

2012-06-12 Thread Colin Law
On 13 June 2012 07:16, RR TT wrote: > Hello again, this time I followed the tutorial mentioned previously, > however, when am opening localhost:3000/user/register, am only getting > the heading , but not the form. my code: > > Register > > <% form_for :user do |f| %> Check the tutorial again, th

[Rails] Re: RoR 2.3.5

2012-06-12 Thread Frederick Cheung
On Jun 13, 5:36 am, Rick Bychowski wrote: > I am evaluating an application that runs on RoR 2.3.5. What are the > liabilities of an application that is based on this older version of RoR? I > am concerned about security and ease of development. How common is this in > the Rails world? > The lat

Re: [Rails] Choosing ROR

2012-06-12 Thread Soumya Roy
I would agree with Colin to say RoR would be a good choice for the idea that you have. Rails allows you to easily create authentication modules, profiles for users, has got wonderful backend functionality with popular DBs. That being said there would certainly be Stumbling Blocks on your RoR path,

[Rails] Project Fedena

2012-06-12 Thread Rick Bychowski
Hi, I'm new to RoR. I am interested in Project Fedena (http://projectfedena.org/), an open source school information system. Actually the bare open source code base is not much help to me by itself, but Foradian sells a "Pro" version (http://www.fedena.com/solutions). The project has been in th

[Rails] Grabbing all validation methods that run on a model

2012-06-12 Thread Michael Cueno
I am working on a project that will take custom validations on models and translate them into javascript to be run on the client side. We are currently passing in the model, and the validation method (as an UnboundMethod ). JStranslator(model, Validator.instance_method(:validate)) What I want is

[Rails] RoR 2.3.5

2012-06-12 Thread Rick Bychowski
I am evaluating an application that runs on RoR 2.3.5. What are the liabilities of an application that is based on this older version of RoR? I am concerned about security and ease of development. How common is this in the Rails world? TIA -- You received this message because you are subscrib

[Rails] Released: Open source ticket-desk app

2012-06-12 Thread Alex
Hi all, Recently joined Rails talk, and so far enjoying the discussions. Thought I'd write a quick post to flag that I've just open-sourced TicketDesk, an e-mail driven support desk software written in rails: https://github.com/AlexBlom/TicketDesk Hopefully some of you find it useful, Alex @A

[Rails] Advanced routing question

2012-06-12 Thread Phil
OK, I'm trying to do this the "right way". (We're using rails 2.3.11, btw.) I have a route which looks like this: map.unit ':district/:community/:resort/:unit', :controller => 'units', :action => 'index', :requirements => {:district => districts, :community => communities, :resort => resorts, :

[Rails] setting up nulldb for fast tests

2012-06-12 Thread @masihjesus
Hello everyone, I'm new to this group. Also I'm kind of new to rails too but I'm an experienced developer and kind of a coach for best principles, patterns and practices of effective software development/testing. I've developed few rails applications though and read almost fair amount of mate

[Rails] Re: user registration form example?

2012-06-12 Thread RR TT
Hello again, this time I followed the tutorial mentioned previously, however, when am opening localhost:3000/user/register, am only getting the heading , but not the form. my code: Register <% form_for :user do |f| %> <%= f.label :name %>: <%= f.text_field :name %> <%= f.la

[Rails] Re: The rails 3 way

2012-06-12 Thread Max Reznichenko
Hi, Steven, Yes it is relevant, but you need to take a look on several key differences between 3.2 and 3.0 version. Asset pipeline i.e. is a major change среда, 13 июня 2012 г., 2:19:44 UTC+3 пользователь BeagleBen написал: > > I am enjoying using rails 3.2 having returned to rails from asp.net

[Rails] intership

2012-06-12 Thread Jeff Kyzer
Hello I am looking for a part time position or maybe an intership using ruby on rails. I have been trying to learn RoR, but stuff changes so quickly that I feel like i am taking 1 step forward and 5 steps back. I have a good understanding of programing, and I have taught myself several languages.

[Rails] entry point

2012-06-12 Thread Jeff Kyzer
Hello and good day I hit an error that i do not know what to do with. I am running rails server so that I can see http://localhost:3000/pages/home. Then I get the error "The procedure entry point rb_str2cstr could not be located in the dynamic link library msvct-ruby191.dll" I am also getting an

Re: [Rails] Opening a file having white spaces on is name with the default program

2012-06-12 Thread Victor Goff
For a Microsoft DOS file name it is wrong. It should be "d:\Copy of t.txt". Your problem could simply be the escaping of the backslash. As you have shown it in rails, you would be escaping the C character. On Tue, Jun 12, 2012 at 9:49 AM, Paulo Carvalho wrote: > Hello, > > In my rails applica

[Rails] Re: Play! 2.0 (Scala) or RubyOnRail (Ruby)?

2012-06-12 Thread Matt Jones
On Tuesday, 12 June 2012 08:31:16 UTC-4, johnCode wrote: > > Yawn... you sound like a big bang, disappointing that Scala was > inspired by > Ruby pattern? Try trolling harder and the community will take note of > your rudeness. > > Forget it. StackOverflow community has better replied anyway.

[Rails] The rails 3 way

2012-06-12 Thread BeagleBen
I am enjoying using rails 3.2 having returned to rails from asp.net mvc, is the rails 3 way book still relevant for rails 3.2 Steven -- 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://group

[Rails] [ANN] Rails version 3.0.14 has been released!

2012-06-12 Thread Aaron Patterson
Good news everyone! Rails version 3.0.14 has been released. This release of Rails contains two important security fixes: * [CVE-2012-2694 Ruby on Rails Unsafe Query Generation Risk in Ruby on Rails](https://groups.google.com/group/rubyonrails-security/browse_thread/thread/8c82d9df8b401c5e)

[Rails] [ANN] Rails version 3.1.6 has been released!

2012-06-12 Thread Aaron Patterson
Good news everyone! Rails version 3.1.6 has been released. This release of Rails contains two important security fixes: * [CVE-2012-2694 Ruby on Rails Unsafe Query Generation Risk in Ruby on Rails](https://groups.google.com/group/rubyonrails-security/browse_thread/thread/8c82d9df8b401c5e) *

[Rails] [ANN] Rails version 3.2.6 has been released.

2012-06-12 Thread Aaron Patterson
Good news everyone! Rails version 3.2.6 has been released. This release of Rails contains two important security fixes: * [CVE-2012-2694 Ruby on Rails Unsafe Query Generation Risk in Ruby on Rails](https://groups.google.com/group/rubyonrails-security/browse_thread/thread/8c82d9df8b401c5e) *

[Rails] Re: Agile book apache2.conf: Forbidden You don't have permission to access / on this server.

2012-06-12 Thread akkdio
On Thursday, October 20, 2011 9:17:07 AM UTC-4, akkdio wrote: > > Appreciate any help - > > I am working through Agile web development (4.0) and am stuck on the > deployment using phusion passenger. I get this: > > "Forbidden > > You don't have permission to access / on this server." > > w

Re: [Rails] render => partial not recognizing method in call

2012-06-12 Thread akkdio
> > Perhaps it is something basic as a beginner I am. I have the following: > > There was no need to show all this code, it is easier for us to see > what is going on if you just show the relevant bits > > Understand and thanks. > > [snip] > > > > > I want the following partial to be sh

[Rails] Re: [jobs] Ruby on Rails Developer (m/f)

2012-06-12 Thread Maximilian Fuchs
Why don't you just apply and we will see whether your English is good enough or not? :-) On Jun 11, 6:57 pm, Garcia Souza wrote: > Wow, I really really like this job but I dont have English fluence :(. One > day I will :) > > 2012/6/11 Maximilian F. > > > > > > > > > > > Slashdot reader? Do you

Re: [Rails] Opening a file having white spaces on is name with the default program

2012-06-12 Thread Colin Law
On 12 June 2012 14:49, Paulo Carvalho wrote: > Hello, > > In my rails application, I have a file which name is: "d:/Copy of > t.txt". > > I want to open it with the default program. > > This file is a TXT file but it can be another kind of file (png, pdf, > etc) and can have, or not, white spaces

Re: [Rails] Choosing ROR

2012-06-12 Thread Colin Law
On 11 June 2012 19:17, 90s programmer wrote: > I am hoping for some help on choosing the right programming language. > > First, some background. I have not done any programming since high > school (I was the class of '00). I learned to program in C++, with > some dabling in Delphi. I was an averag

[Rails] Re: Opening a file having white spaces on is name with the default program

2012-06-12 Thread Paulo Carvalho
Hello, Thanks for your answer. However, still not working... f1 = "d:/Copy of t.txt" f1 = f1.gsub(" ", "\\ ") #system %{cmd /c "start #{f1}"} #cmd = 'cmd /c "start ' + f1 + '"' #cmd = 'cmd /c """start ' + f1 + '"""' #cmd = "cmd /c ""start '" + f1 + "'""" cmd = "cmd /c ""start '" + f1 + "'""" sy

Re: [Rails] Opening a file having white spaces on is name with the default program

2012-06-12 Thread Oscar Del Ben
I don't use windows, but you could try escaping the space "foo\ bar" -- Oscar Del Ben Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, June 12, 2012 at 6:49 AM, Paulo Carvalho wrote: > Hello, > > In my rails application, I have a file which name is: "d:/Copy of > t.txt". >

[Rails] Opening a file having white spaces on is name with the default program

2012-06-12 Thread Paulo Carvalho
Hello, In my rails application, I have a file which name is: "d:/Copy of t.txt". I want to open it with the default program. This file is a TXT file but it can be another kind of file (png, pdf, etc) and can have, or not, white spaces on his path/name. I've tried several ways to do it but, unti

Re: [Rails] Re: user registration form example?

2012-06-12 Thread Colin Law
On 12 June 2012 14:13, RR TT wrote: Please remember to quote the previous message so that it is easier to follow the thread. This is a mailing list though you may be accessing it through a forum interface. > thanks Colin, in fact due to be in a hurry i skipped the other parts and > went straigh

Re: [Rails] Active Record Querying-Help

2012-06-12 Thread Colin Law
On 11 June 2012 16:03, sigdelsaroj wrote: > I am new to rails and stuck on one Querying issue. Here is the > situation. > > Model: Category > class Category < ActiveRecord::Base >        has_and_belongs_to_many :postings >        has_and_belongs_to_many :volunteers > end > > Model: Posting > class

[Rails] Re: user registration form example?

2012-06-12 Thread RR TT
thanks Colin, in fact due to be in a hurry i skipped the other parts and went straight to the chapter I was concerned with, but since am a newbie with rails and ruby, I lost track of what was going on and was dreading to start from the beginning due to time constraint -- Posted via http://www.

[Rails] Re: Play! 2.0 (Scala) or RubyOnRail (Ruby)?

2012-06-12 Thread johnCode
Yawn... you sound like a big bang, disappointing that Scala was inspired by Ruby pattern? Try trolling harder and the community will take note of your rudeness. Forget it. StackOverflow community has better replied anyway. On Jun 11, 3:08 am, Matt Jones wrote: > On Saturday, 9 June 2012 23:21:4

[Rails] Urgent Requirement with our Direct Client for a Sr. Ruby Developer based in London

2012-06-12 Thread Ankit Kumar
Hi All, Client: Confidential Job Title: Sr. Ruby Developer Location: London, UK Duration: Permanent Job Requirement: • 5+ years software development experience • 3+ years Ruby on Rails development experience • Expert knowledge of OO design, Design Patterns, and Refactoring •

[Rails] Rails, Ruby, Typo (ruby blog) and Radiant (ruby CMS) version

2012-06-12 Thread cameront
Hello All Our hosting environment provides for Ruby 1.8.7 patchlevel 174 and Rails 2.3.10. Anyone who has worked with Radiant and Typo (http:// fdv.github.com/typo/) and suggest what version is best to go with? Thank you -- You received this message because you are subscribed to the Google Grou

[Rails] Re: Play! 2.0 (Scala) or RubyOnRail (Ruby)?

2012-06-12 Thread Alex Hugh
Indeed Matt, what a nonconstructive comment. Well, IHMO is every languages has a pros and cons. Choose whichever you are comfortable with the results and time you need to invest on. In fact, I'm hardly spend on Ruby since Scala has feature and was inspired from Ruby design too. It's made learning

[Rails] Choosing ROR

2012-06-12 Thread 90s programmer
I am hoping for some help on choosing the right programming language. First, some background. I have not done any programming since high school (I was the class of '00). I learned to program in C++, with some dabling in Delphi. I was an average coder at the time (I got a 4 in AP computers). All th

Re: [Rails] Designin library for REST API client

2012-06-12 Thread Garcia Souza
Dear Ahmy Yulrizka, I think what you are searching for is a REST Client API for Ruby that have integration with ActiveResource. Hope this help you :) 2012/6/11 Ahmy Yulrizka > Sorry i think there is lack of consistency in my previous message. > it should be > > client = MyLibrary.new user: 'u

[Rails] Active Record Querying-Help

2012-06-12 Thread sigdelsaroj
I am new to rails and stuck on one Querying issue. Here is the situation. Model: Category class Category < ActiveRecord::Base has_and_belongs_to_many :postings has_and_belongs_to_many :volunteers end Model: Posting class Posting < ActiveRecord::Base has_and_belongs_to_many

[Rails] HTML5 Offline Cache Manifest file with asset pipeline in Rails 3.2 app?

2012-06-12 Thread Edditoria Han
*This question is also available in Stack Overflow: link * I'm a newbie in programming. The app I'd created is http://checkamy.herokuapp.com (Welcome any comments) It's very simip

[Rails] Re: filter children with acts_as_tree

2012-06-12 Thread ibrahim hassan
Hello, thanks for your advice, however i wanted all the roots chould parent should be always nil, but in the same time I want the children for this roots to be filtered only with a specific type. root1- child1 type A child2 type B root2 child3 type A Child4 type B when i ap

[Rails] delocalize gem problem

2012-06-12 Thread Damjan Rems
I am having problems using delocalize gem (which comes very handy btw). # with delocalize p Time.now, Time.current 2012-06-12 14:23:17 +0200 Tue, 12 Jun 2012 12:23:17 UTC +00:00 Result seen on input field: 12.06.2012 12:23 (date format is %d.%m.%Y %H:%M). It should be 12.06.2012 14:23. #without

Re: [Rails] how to connect rails app using monodb

2012-06-12 Thread Colin Law
On 12 June 2012 13:42, honey ruby wrote: > hi all > >     i ve installed monodb this is the first time ive installed it and don't > have any idea how to use it. previously ive used MYSQL for my apps. now i > want to use monodb . can any one help me out how to  use monodb . does it > have any inter

[Rails] Re: how to connect rails app using monodb

2012-06-12 Thread Max Reznichenko
Hi, Checkout Mongoid gem http://mongoid.org/en/mongoid/index.html https://github.com/mongoid/mongoid Max вторник, 12 июня 2012 г., 15:42:31 UTC+3 пользователь honey ruby написал: > > hi all > > i ve installed monodb this is the first time ive installed it and > don't have any idea how to

[Rails] how to connect rails app using monodb

2012-06-12 Thread honey ruby
hi all i ve installed monodb this is the first time ive installed it and don't have any idea how to use it. previously ive used MYSQL for my apps. now i want to use monodb . can any one help me out how to use monodb . does it have any interface just as MYSQL. as there is no yml file need

[Rails] Re: render => partial not recognizing method in call

2012-06-12 Thread Max Reznichenko
Hi, Andrew The error says the @composer variable is not set. By the code I see, that you are setting @composer*s* variable. Take a look at the starting guide on rendering in Ruby on Rails as an approach itself is wrong. Max вторник, 12 июня 2012 г., 15:09:30 UTC+3 пользователь akkdio написал:

Re: [Rails] render => partial not recognizing method in call

2012-06-12 Thread Colin Law
On 12 June 2012 13:09, akkdio wrote: > Perhaps it is something basic as a beginner I am.  I have the following: There was no need to show all this code, it is easier for us to see what is going on if you just show the relevant bits > [snip] > > I want the following partial to be shown in the Ma

Re: [Rails] user registration form example?

2012-06-12 Thread Colin Law
On 12 June 2012 12:26, RR TT wrote: > Hello, anyone can guide me through creating a user registration form in > rails from scratch (without the scaffold command thou), using first the > inbuilt sqlite3 db and then with mysql? > > I was having a look at the following tutotial, but lost my way in th

[Rails] render => partial not recognizing method in call

2012-06-12 Thread akkdio
Perhaps it is something basic as a beginner I am. I have the following: controllers: main editions works composers main: class MainController < ApplicationController def welcome @composers = Composer.find(:all).sort_by {|c| [c.last_name, c.first_name]} end end works - editions - comp

[Rails] user registration form example?

2012-06-12 Thread RR TT
Hello, anyone can guide me through creating a user registration form in rails from scratch (without the scaffold command thou), using first the inbuilt sqlite3 db and then with mysql? I was having a look at the following tutotial, but lost my way in the first part itself where it mentions the crea

[Rails] Re: no such file to load -- rexml/encodings/UTF8.rb

2012-06-12 Thread Max Reznichenko
How do you run the parser? Is it in the Rails app or a single script? Try including rexml directly in (irb or rails)console and post the response четверг, 22 марта 2012 г., 11:04:56 UTC+2 пользователь Ruby-Forum.com User написал: > > I'm install ruby 1.8.7 from rvm on FreeBSD 9 RELEASE, and the

Re: [Rails] how to update a table which is connected with joins

2012-06-12 Thread hanish jadala
no with our changing the relationship can i update values. thanks in advance On Tue, Jun 12, 2012 at 3:02 PM, Michael Pavling wrote: > On 12 June 2012 10:31, honey ruby wrote: > > > > hi all there are two tables Student and Batch in there model i have > > has_and_belongs_to_many :graduated_ba

Re: [Rails] how to update a table which is connected with joins

2012-06-12 Thread Michael Pavling
On 12 June 2012 10:31, honey ruby wrote: > > hi all there are two tables Student and Batch in there model i have > has_and_belongs_to_many :graduated_batches, :class_name => 'Batch', > :join_table => 'batch_students' in Student table > i have added a new column to batch_students table and i want t

[Rails] how to update a table which is connected with joins

2012-06-12 Thread honey ruby
hi all there are two tables Student and Batch in there model i have has_and_belongs_to_many :graduated_batches, :class_name => 'Batch', :join_table => 'batch_students' in Student table and has_and_belongs_to_many :graduated_students, :class_name => 'Student', :join_table => 'batch_students' i

[Rails] Re: weird error in rails 2.3.5

2012-06-12 Thread Jamal Soueidan
I fixed the issue, it was related to override of name attribute in the model class. -- 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 rubyonrails-talk@googleg

[Rails] Re: weird error in rails 2.3.5

2012-06-12 Thread Max Reznichenko
Try to be more specific with old versions of Rails and change <%= render(@locations) %> to <%= render :partial => "location/location", :collection => @locations %> In this case _location partial should have local variable "location" correctly set. Hope, this helps. MaxR > > Colin, I already trie

[Rails] Re: Rails 3 advanced queries

2012-06-12 Thread Max Reznichenko
Hi, Rashila It looks, that the only good solution here is .where("categories.item_category_id IS NOT NULL") MaxR On 12 июн, 06:44, Rashila Noushad wrote: > In one of my queries I used > .where (:categories => {item_categories {:item_category_id => nil}} for > 'item_category_id IS NULL'. > How t

[Rails] Re: no such file to load -- rexml/encodings/UTF8.rb

2012-06-12 Thread 123 321
No, it's don't work. -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyon

Re: [Rails] Re: installing ruby on rails 1.9.3 on windows 7

2012-06-12 Thread Colin Law
On 12 June 2012 08:48, nishant g. wrote: > this is the gemfile without the source of the ruby racer added. Please quote the previous reply so we know what you are talking about without having to go back over previous posts to find the context. Remember this is a mailing list (though you may be po

[Rails] Re: installing ruby on rails 1.9.3 on windows 7

2012-06-12 Thread nishant g.
this is the gemfile without the source of the ruby racer added. thanks for the help. Attachments: http://www.ruby-forum.com/attachment/7481/Gemfile -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" gr