[Rails] Re: Phusion Passenger error

2010-09-06 Thread Saurabh Peshkar
Anubhaw Prakash wrote: > Anubhaw Prakash wrote: >> Saurabh Peshkar wrote: >>> Hi All, >>> >>> I am having an ROR application deployed on server, it is throwing the >>> following error on server when user uploads an image: >>> >>> ActionController::RoutingError (No route matches >>> "/images/.png"

[Rails] numeric key in yam file to be used by config file

2010-09-06 Thread Erwin
I am using a YAML file for my app config, loading it : raw_config = File.read(RAILS_ROOT + "/config/app_config.yml") APP_CONFIG = YAML.load(raw_config)[RAILS_ENV].symbolize_keys --- It's running well as long as I use alpha keys development: seve: api_token: e09cba8653489749388797926

[Rails] Re: Phusion Passenger error

2010-09-06 Thread Anubhaw Prakash
Anubhaw Prakash wrote: > Saurabh Peshkar wrote: >> Hi All, >> >> I am having an ROR application deployed on server, it is throwing the >> following error on server when user uploads an image: >> >> ActionController::RoutingError (No route matches >> "/images/.png" with {:method=>:get}) >> >> Tha

[Rails] Re: Background Task: How to?

2010-09-06 Thread E. Litwin
On Sep 6, 12:58 pm, rodrigo3n wrote: > Hello everyone, my app is Twitter based, and all I have to do is get > the tweets of a given user and retweet it in other twitter profile.. > so when user1 tweets, user2 must automatically retweet. I think I must > write some background job to make this work

Re: [Rails] invalid byte sequence in UTF-8 , need to re-encode ?

2010-09-06 Thread Jeffrey L. Taylor
Quoting Erwin : > > > I have a string coming from an email body : > (rdb:1) body > "\r\nLe 3 sept. 2010 \340 19:06, Event Seve Test a \351crit :\r\n\r\n> > Please answer the question by writing an X at the chosen places :\r\n> > \r\n> are you coming : \r\n> \r\n> YES: X\r\n> \r\n> NO:_\r\n>

Re: [Rails] Re: Rails 3 install on Ruby Enterprise

2010-09-06 Thread Jeffrey L. Taylor
Quoting Charlie B99 : > Veera Sundaravel wrote: > > May be this link will help you. > > http://veerasundaravel.wordpress.com/2010/02/15/rails3-beta-installation/ > > > > > Still receive error installing rails: active model requires i18n > When I try to sudo gem install i18n, it errors out becaus

[Rails] log4r

2010-09-06 Thread badnaam
Is log4r a good option for proper logging in rails app (date time, severity, notification etc?) or is there something else out there? -- 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-t...@go

Re: [Rails] i18n assets management / translation UI

2010-09-06 Thread Walter McGinnis
On Tue, Sep 7, 2010 at 6:54 AM, Peter De Berdt wrote: > I'd like to know if anyone here is using a UI plugin/gem ( not unlike > django-rosetta on django ) to deal with multiple translators, some of > them unwilling or unable to mess with 100+ files in a repository, > working on language data. > >

[Rails] printing stacktrace

2010-09-06 Thread badnaam
I am trying the following in the irb console begin a = 4 a.dfsdfadsf rescue => exp puts exp.backtrace.join("\n") else puts "in else" ensure puts "ensure" end I am hoping to see a stacktrace of exception complaining about method_missing for Fixnum but inste

Re: [Rails] [ANN] dry_crud 1.0.0

2010-09-06 Thread botp
On Tue, Sep 7, 2010 at 3:59 AM, z wrote: > http://github.com/codez/render_inheritable. cool, Pascal. will try this some time.. thanks and best regards -botp -- 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] Re: Nothing is being inserted into the database...help!

2010-09-06 Thread Zack Nathan
Frederick Cheung wrote: > On 4 Sep, 20:23, Zack Nathan wrote: >> Hello all, >> >> for some reason nothing is being inserted into the database. I have no >> idea why not! Here is my action: >> > Did you check for any validations failing > > Fred Yep sorry, Iv been busy and hadnt checked my email

[Rails] problem when : ruby script/server

2010-09-06 Thread Dani Dani
Hi; Now I have tried the following, installed ruby 1.8.7 (2010-08-16) [i386-mingw32] rails 2.3.8 when I start the server --> ruby script/server, I get the following eeror: C:\Rails\demo>ruby script/server => Booting WEBrick => Rails 2.3.8 application starting on http://0.0.0.0:3000 => Call with -d

[Rails] Looking for VP of Engineering w/RoR coding capability

2010-09-06 Thread lesd...@gmail.com
My team is looking for an experienced VP of Engineering https://docs.google.com/document/edit?id=1waqnjDdxxJW0bZgDsJyphgQePjTpdsly6eI15gvR5fw&hl=en&authkey=COiRwI4B -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, se

[Rails] Re: Re: Using Rails 3 with Ruby 1.9

2010-09-06 Thread Carl Jenkins
Felix Schäfer wrote: > Am 03.09.2010 um 18:28 schrieb Carl Jenkins: > >> Sorry, but what is rvm? > > http://lmgtfy.com/?q=rvm > > (it was the 3rd hit here, though I'd wager it might be the first in your > locale) > > Felix Clever. -- Posted via http://www.ruby-forum.com/. -- You received

[Rails] Re: undefined method `path' for Gem:Module (NoMethodError)

2010-09-06 Thread Dani Dani
Any help on this ? Dani -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to ruby

[Rails] Deployment with nginx + mod_rails ( a.k.a phusion passenger)

2010-09-06 Thread ShellScripter
Hi , all there. My project now is under the deployment phase , and as the title mentioned i have decided to use the nginx + mod_rails for my deployment. I set up the environment in CentOS 5 and using the Ruby Enterprise Edtion (REE) , rails new myApp , and see the Rails welcome page , i check the

[Rails] [ANN] render_inheritable

2010-09-06 Thread z
render_inheritable is a Rails 3 plugin that allows one to inherit or override single templates for controller hierarchies. Finally, also views and partials remain DRY! http://github.com/codez/render_inheritable In the default case, a template is searched in the current controller’s view folder. I

[Rails] [ANN] dry_crud 1.0.0

2010-09-06 Thread z
dry_crud generates simple and extendable controller, views and helpers that support you to DRY up the CRUD code in your Rails project. Start with these elements and build a clean base to efficiently develop your application upon. Version 1.0.0 is built for Rails 3. http://github.com/codez/dry_crud

[Rails] Background Task: How to?

2010-09-06 Thread rodrigo3n
Hello everyone, my app is Twitter based, and all I have to do is get the tweets of a given user and retweet it in other twitter profile.. so when user1 tweets, user2 must automatically retweet. I think I must write some background job to make this work but I don't know how? Any ideas? Any gem inten

[Rails] Re: Rails 3, help controlling access to a record based on the user id

2010-09-06 Thread nobosh
Thanks all, this ended up working which I believe scopes correctly... Thoughts? @note = current_user.notes.find(params[:id]) On Sep 6, 3:04 am, Frederick Cheung wrote: > On Sep 6, 4:38 am, nobosh wrote: > > >                 def correct_user > >                         #...@note = Note.find(par

Re: [Rails] i18n assets management / translation UI

2010-09-06 Thread Peter De Berdt
On 06 Sep 2010, at 14:09, andras wrote: i'm building a multi-lingual webapp with i18n from the ground up, and while i myself can deal with an army of yml files, the languages i speak are ( very ) limited, and would eventually like to ask for outside help. I'd like to know if anyone here is usi

[Rails] "clone" at active_record relation

2010-09-06 Thread Anderson Leite
inside Rails source, at http://github.com/rails/rails/blob/master/activerecord/lib/active_record/relation/query_methods.rb I found a lot of calls to: relation = clone I can understand where id the "relation" call, but... how about "clone" ? Perhaps "clone" comes from Ruby1.9-Kernel, but I

[Rails] Logging question

2010-09-06 Thread badnaam
I notice that even though my app logs fine to the dev and prod logs, I am having issue logging from other places like rake and console. I have a rake task process_post that calls #Post model def self.process_post logger.info "test" end I verified that the log level is set to "debug", but I never

[Rails] Logging question

2010-09-06 Thread badnaam
I notice that even though my app logs fine to the dev and prod logs, I am having issue logging from other places like rake and console. I have a rake task process_post that calls #Post model def self.process_post logger.info "test" end I verified that the log level is set to "debug", but I never

[Rails] how to call rails method from javascript method.

2010-09-06 Thread Manish Nautiyal
hi I wanna call rails method from the javascript method. It should be ajax call for rails method. please help me. -- 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 e

[Rails] [JOBS] NYC Consulting, Onsite at Client Location only, Financial Services Firm $800-$1000 per day

2010-09-06 Thread Ruby Kate
The ideal Consultant will join a quickly growing agile team in the development of a new web product that is targeted for Beta launch within an aggressive time-frame. My client is looking for an experienced hands-on Ruby on Rails developer who has experience with leveraging Rails best practices and

[Rails] Re: When to use self.class.function vs self.function

2010-09-06 Thread pipplo
Awesome! Thanks Fred and Xuan. I was able to really clean up my code once I understood this. One side question based on this. Is there some normal ruby coding guidelines? I was thinking I would want to make class level functions capital, and instance level functions lowercase. User.Authenticat

[Rails] i18n assets management / translation UI

2010-09-06 Thread andras
Hello everyone, i'm building a multi-lingual webapp with i18n from the ground up, and while i myself can deal with an army of yml files, the languages i speak are ( very ) limited, and would eventually like to ask for outside help. I'd like to know if anyone here is using a UI plugin/gem ( not u

[Rails] Re: Backup database from the application

2010-09-06 Thread Daniel Morigan
The project is on heroku and PostgreSQL is used there. I also use PostgreSQL on my local. I thing creating/editing/deleting files on heroku is forbidden On 6 Wrz, 12:36, Colin Law wrote: > On 6 September 2010 10:25, Daniel Morigan wrote: > > > Hi, I want to create an administration panel in the

[Rails] Rails 3 not working with windows 7

2010-09-06 Thread Manish Nautiyal
ruby 1.8.7 gem 1.3.7 rails 3.0.0, 3.0.0.rc when i write rails -v error message come Could not find gem 'mysql2 <>=0, runtime>' in any of the gem sources. Try running 'bundle install'. when I run bundle install then also it cann't install mysql2 please help me. -- Posted via http://www.ruby-fo

[Rails] Re: Cannot seem to display Comments on User Show Page

2010-09-06 Thread Kelp Kelp
PsiPro wrote: > It would help to know the URL your being redirected to... but I see > one potential issue: > > if @comment.save > flash[:success] = "Comment saved." > redirect_to articles_path(@article) > else > render 'show' > end > > Lets pretened your comment fail

Re: [Rails] Re: Pass a value from controller to model

2010-09-06 Thread Colin Law
2010/9/6 Pål Bergström : > Colin Law wrote: > >> @my_key = cookies[:my_key] >> then access @my_key in the view.  If the key is logically an attribute >> of Test then use your method, if you are just putting it there in >> order to pass it to the view then it may be more logical to use a >> separate

[Rails] I18n interpolation problem

2010-09-06 Thread Aldo Italo
hi, i using rails 2.3.8, i have setting this on my view: <%=h l(@banner.expire, :format => :long) %> (when "@banner.expire" is a Date ) and this on the my localized yml locale: date: formats: long: "%d %B %Y" but wheel i load the page, i have this error: I18n::Mi

[Rails] Re: nested routes question

2010-09-06 Thread Ed
bump ... no answers? On Sep 5, 9:35 pm, Ed wrote: > So what is the best way to structure scores/index to deliver the > appropriate list? > -- 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

[Rails] link_to_remote and link_to

2010-09-06 Thread Luis miguel Cabezas granado
Hi, Estoy pasando una aplicación que trabaja con Google maps y Rails 2. Con Google maps recojo las coordenadas X y Y en dos campos de texto y los paso mediante el método :with al controlador para hacer algunas operaciones. El código es: I have an application with RoR and Google maps and i catch

[Rails] Re: Triggering Javascript from a Ruby form

2010-09-06 Thread Parker Selbert
pepe wrote: > I think one of the things you might need is a 'timer', which will let > your code 'sleep' before calling again your 'how_finished' function. I > have never done this but remember reading about it, I googled for > 'javascript sleep timer' and one of the links I found was this: > http:/

Re: [Rails] Loads of users

2010-09-06 Thread Peter Hickman
We do live cricket and football scores with team statistics for a large client. We use RoR and update the page by using js on a timer to pull the json data and update the page. You can see it here ( http://scorecard.cricket.betfair.com/ ) There is no magic to this, big box, fat pipe, thin code. P

[Rails] Re: Pass a value from controller to model

2010-09-06 Thread Pål Bergström
Colin Law wrote: > @my_key = cookies[:my_key] > then access @my_key in the view. If the key is logically an attribute > of Test then use your method, if you are just putting it there in > order to pass it to the view then it may be more logical to use a > separate variable. Thanks but I don't ne

[Rails] Re: Problema con parámetros en collection_s elect (No novato)

2010-09-06 Thread Evaldo Kalbermatter
Evaldo Kalbermatter wrote: > Evaldo Kalbermatter wrote: >> Hola a t...@s, >> >> Les cuento... Tengo lo siguiente en aplicación: >> >> Una página donde esta mi modelo docencia que a su vez le voy agregando >> todos los dictados de carreras: >> >> >><% f.fields_for :dictados do |dictado_for

[Rails] Loads of users

2010-09-06 Thread Adrian Wadey
Hi, I am looking for the right technologies to create a live score system for a cricket match. I like the look of RoR as I will be able to build up team/player statistics, use TDD and MVC. I'm learning Ruby/RoR. The system is mainly for use at cricket matches. The scorer enters the score

[Rails] Re: Phusion Passenger error

2010-09-06 Thread Anubhaw Prakash
Saurabh Peshkar wrote: > Hi All, > > I am having an ROR application deployed on server, it is throwing the > following error on server when user uploads an image: > > ActionController::RoutingError (No route matches > "/images/.png" with {:method=>:get}) > > Thanks > > Saurabh Hi Saurabh, This

Re: [Rails] Re: RoR with Existing tables in database using Postgresql

2010-09-06 Thread PalaniKannan K
Hi, The Problem got solved... Thank you for valuable comments from each one in this thread. On 4 September 2010 00:52, Cuz Ican wrote: > Haven't used them but I would check them out.. > http://magicmodels.rubyforge.org/magic_model_generator/ > http://github.com/ahe/reverse_scaffold > > Also, re

[Rails] undefined method `eq' for nil:NilClass

2010-09-06 Thread PalaniKannan K
Hi, Please help in this regard I got the error when tried to apply the script for sql command "SELECT * FROM clients WHERE (clients.id = 10)" Taxa = Model Name I used "taxa = Taxa.find(40)" in ActiveRecord::Base... I got the trace as undefined method `eq' for nil:NilClass activesupport (3.0.0)

[Rails] Re: YUI, Hpricot and security

2010-09-06 Thread Martin Hawkins
Answering my own question. As security, in this case, involves the prevention of injected javascript from executing, I wrote a method to scan for 'script' tags. def strip_script_tags( post) if Nokogiri::HTML( post).css('script').empty? return post else return 'Contents removed for secu

Re: [Rails] Re: script/server

2010-09-06 Thread PalaniKannan K
HI, You may try "rails server" in Rails 3 to start server. "script/server" was gone in last version itself... On 6 September 2010 13:31, Daniel wrote: > Chris, I am running Rails 3 and will give that a go. I must have been > running 2.3.8 on the earlier install. I'll let you know how it goes.

Re: [Rails] Re: undefined method `eq' for nil:NilClass

2010-09-06 Thread PalaniKannan K
Hi, This was happened when i tried to give "Model.find " option in Query interface. On 6 September 2010 13:32, Kannan wrote: > Hi, > > Me too got same error... I attached Full trace here... Kindly suggest > on this issue... > > undefined method `eq' for nil:NilClass > > activesupport (3.0.0) lib

[Rails] Re: undefined method `eq' for nil:NilClass

2010-09-06 Thread Kannan
Hi, Me too got same error... I attached Full trace here... Kindly suggest on this issue... undefined method `eq' for nil:NilClass activesupport (3.0.0) lib/active_support/whiny_nil.rb:48:in `method_missing' activerecord (3.0.0) lib/active_record/relation/finder_methods.rb: 291:in `find_one' acti

[Rails] Re: script/server

2010-09-06 Thread Daniel
Chris, I am running Rails 3 and will give that a go. I must have been running 2.3.8 on the earlier install. I'll let you know how it goes. Thanks. On Sep 6, 3:52 am, Chris Mear wrote: > On 6 Sep 2010, at 04:02, Daniel wrote: > > > > > > > I am running into an odd problem and would love some as

[Rails] Phusion Passenger error

2010-09-06 Thread Saurabh Peshkar
Hi All, I am having an ROR application deployed on server, it is throwing the following error on server when user uploads an image: ActionController::RoutingError (No route matches "/images/.png" with {:method=>:get}): passenger (2.2.15) lib/phusion_passenger/rack/request_handler.rb:92:in `proces

[Rails] Re: Ruby api code for Create blogs

2010-09-06 Thread Ugis Ozols
Blogpost.create(:title => "my title", :desc => "my desc") ... is this what you're after for? On Sep 6, 2:00 pm, Aruna Chinnamuthu wrote: > Hi , > > I am new to ROR.. > > I am trying to write a ruby code for the already existing API for blogs > . > > For the create action in my blogpost.rb model f

[Rails] Ruby api code for Create blogs

2010-09-06 Thread Aruna Chinnamuthu
Hi , I am new to ROR.. I am trying to write a ruby code for the already existing API for blogs . For the create action in my blogpost.rb model file validates_presence_of :title, :category_id, :user_id validates_length_of :title, :in => 8..140, :too_short => "is too short", :too_long => "is

Re: [Rails] Backup database from the application

2010-09-06 Thread Colin Law
On 6 September 2010 10:25, Daniel Morigan wrote: > Hi, I want to create an administration panel in the application that > would allow to backup the database and some other stuff. How can I > create a backup and send it to some place (s3, ftp) or download it as > a file to the local computer. I gu

Re: [Rails] Re: its easy but i forgot all

2010-09-06 Thread Colin Law
On 6 September 2010 05:30, rajeevsharma86 wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >I have two modelds >1. loan model belongs_to :borrower > >2. borrower model has_many:loans > > In my borrower Show method i wrote > > <%= link_to 'Request New Loan', :c

[Rails] Re: Rails 3, help controlling access to a record based on the user id

2010-09-06 Thread Frederick Cheung
On Sep 6, 4:38 am, nobosh wrote: >                 def correct_user >                         #...@note = Note.find(params[:id]) >                         #...@note_userid = @note.user_id >                         @note = @user ? @user.notes.find(params[:id]) : nil >                         @cur

[Rails] Backup database from the application

2010-09-06 Thread Daniel Morigan
Hi, I want to create an administration panel in the application that would allow to backup the database and some other stuff. How can I create a backup and send it to some place (s3, ftp) or download it as a file to the local computer. Daniel -- You received this message because you are subscrib

[Rails] Re: Suggestions on Ruby code for API

2010-09-06 Thread Frederick Cheung
On Sep 6, 10:26 am, Aruna Chinnamuthu wrote: > hi , i am new to ROR > > i was acually trying to write Ruby code for the api blogs > > i have written the ruby code as > >       Loading development environment (Rails 2.3.8) >       >> class Blogpost < ActiveRecord::Base >       >> has_many :taggin

[Rails] Suggestions on Ruby code for API

2010-09-06 Thread Aruna Chinnamuthu
hi , i am new to ROR i was acually trying to write Ruby code for the api blogs i have written the ruby code as Loading development environment (Rails 2.3.8) >> class Blogpost < ActiveRecord::Base >> has_many :taggings >> has_many :tags,:through => :taggings >> end

[Rails] Re: batch processing question

2010-09-06 Thread Xuan
What I would do is adding a condition so it would delete objects marked before a given time, so it won't delete posts that were marked after that time, giving the user time to change his mind in case he's editing the post when the batch is running. Ways to do it could be adding a timestamp "marked_

[Rails] Re: Rails 3, help controlling access to a record based on the user id

2010-09-06 Thread flyerhzm
please check the post "Use scope access" on rails-bestpractices.com, http://rails-bestpractices.com/posts/3-use-scope-access, it tells you how to use the Ed's way to strict access and rescue the exceptions. On 9月6日, 上午11时38分, nobosh wrote: > Thanks for the reply, I do have the relationships decla

[Rails] Re: When to use self.class.function vs self.function

2010-09-06 Thread Xuan
On 6 sep, 08:00, pipplo wrote: > Hi Guys, > > I'm experimenting with my first rails app currently.  One thing I'm > trying to implement is a login system. > > I created a model for user.rb  I've added a couple of functions to the > class for example: > > def self.authenticate(user_info) >    fin

[Rails] Re: Whats a good way to avoid nil lookup errors

2010-09-06 Thread Paul Philippov
nope, only within the action. On Sep 5, 11:31 pm, Christian Fazzini wrote: > Hi Paul. but wouldnt that redirect to users_path on any activerecord > not found event? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group,

[Rails] Re: Jquery post authenticity_token is not sent

2010-09-06 Thread Manos
On 5 Σεπτ, 21:25, Manos wrote: > I have installed jquery-ujs driver and include jquery script in my > view. > > In my view I have the following function > >  $(function () { >          $('#alert').click(function () { >            $.ajax({ >           type: "POST", >           data: ({ lat: this.

Re: [Rails] script/server

2010-09-06 Thread Chris Mear
On 6 Sep 2010, at 04:02, Daniel wrote: > I am running into an odd problem and would love some assistance. I > had Ruby/Rails up and running perfectly fine on a Win 7 machine but > recently had to perform a fresh install of everything. The previous > install as well as this one were completed wi

[Rails] Re: Re: rake migrate RAILS_ENV="production"

2010-09-06 Thread Mike Bethany
Jonathan Viney wrote: > export RAILS_ENV=production > rake migrate > > Are you sure you haven't manually set the value in environment.rb ... > > -Jonathan. For the newbies out there like me: In the environment.rb file the environment type has to be in quotes like so: RAILS_ENV="production" --

[Rails] script/server

2010-09-06 Thread Daniel
I am running into an odd problem and would love some assistance. I had Ruby/Rails up and running perfectly fine on a Win 7 machine but recently had to perform a fresh install of everything. The previous install as well as this one were completed with RubyInstaller 1.9.2. In the old install I was

Re: [Rails] Unexpected behavior with respond_to

2010-09-06 Thread Svilen Vassilev
I have similar issues with some js.rjs files after upgrading an app to rails 3. Some respond_to blocks keep working fine as before and I get JS returned, some keep trying to return HTML and thus spit out the 406 error. I haven't found any good reason in my code to justify this kind of behavior, eve

Re: [Rails] Installing rails on lucid lynx.

2010-09-06 Thread Svilen Vassilev
Additionally, Mark, don't use ruby 1.9.1 with rails: it's buggy.and it's not recommended, as mentioned on RoR home page. Consider compiling ruby from source, either version 1.8.7 or 1.9.2. Follow the step by step instructions from Ruby official site if in doubt. Install RubyGems manually afterwards

[Rails] Re: reload! not working

2010-09-06 Thread Frederick Cheung
On Sep 6, 7:28 am, badnaam wrote: > Nevermind turns out my model classname was same as the class name of a > plugin. Wonder why reload! always returned true, never complained or > gave a clue > At the point that the plugin was loaded, that class was probably marked as non reloadable, as plugins

[Rails] Re: When to use self.class.function vs self.function

2010-09-06 Thread Frederick Cheung
On Sep 6, 7:00 am, pipplo wrote: > Hi Guys, > > I'm experimenting with my first rails app currently.  One thing I'm > trying to implement is a login system. > > I created a model for user.rb  I've added a couple of functions to the > class for example: > > def self.authenticate(user_info) >    f

Re: [Rails] Re: upgrading to rails 3.

2010-09-06 Thread Mauro
On 3 September 2010 15:05, Tony Primerano wrote: > try adding trace to your rake command to get more information > > rake rails:upgrade:check --trace Here is with --trace option: rake aborted! no such file to load -- initializer /home/user/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:

[Rails] Re: Pass selected value in combo as a parameter

2010-09-06 Thread Alfredo Bonilla
Again answering to myself... I solved the problem by: 1-Using *link_to_remote* using :with clause, and passing as serialize the id of the div that I had to create sourranding the select 2-In the controller, once taked the parm and maked all the operations, use *respond_to* js and reloading the

[Rails] Re: Using Factory Girl with has many relationship

2010-09-06 Thread Satsou Sa
Many thanks for your help. Very appreciated. Happy RoR3 developments! -- 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-t...@googlegroups.com. To