Displaying 20 results from an estimated 6000 matches similar to: "Path and Url"
2011 Mar 15
8
Problems with Object#id deprecation
Hello everyone, in a test helper in my app I call category.id that gets the
id of category in the database. However, when running RSpec I get the
following error:
As a parla customer
/Users/saulolopes/code/parla/spec/acceptance/support/paths.rb:13: warning:
Object#id will be deprecated; use Object#object_id
/Users/saulolopes/code/parla/spec/acceptance/support/paths.rb:13: warning:
Object#id
2010 Aug 01
4
Admin interface for Rails?
Hello folks, I am currently working on a project that has to deliver
an admin interface like the Django''s one, I wanna know if you know/
recommend any gem or plugin for that.
Cheers,
Rodrigo Alves Vieira
--
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
2010 Aug 03
2
Strange error message when rendering the scaffold form
Hello everyone, I am developing my application and I created a
scaffold called listas, but when I acess /listas/new I get this error
message:
NoMethodError in Listas#new
Showing /home/rodrigo3n/code/listeiroo/app/views/listas/_form.html.erb
where line #15 raised:
undefined method `deep_symbolize_keys'' for nil:NilClass
Extracted source (around line #15):
12: <% end %>
13:
14:
2009 Dec 02
14
root_path and root_url undefined
Hi all,
I''ve just started working on another RoR project after a couple of months
away. I''m having trouble with named routes, specifically root_*
In previous apps I''ve used root_path and root_url without any problems, but
in this project (2.3.2 - the same as my last project where I used it) it
comes up undefined.
I''ve double and triple checking my routes.rb,
2010 Jun 22
1
How to implement a user score by activity
Hello everyone, I gotta start an app that have to give icons to users
conform they use the application. For example, a user has bought 10
products so he gets icons symbolizing his activity. A user who has
bought 5 items has 2 icons and a user who bought 15 has more. The more
the use the app, the more the icons they get. My doubt is, how to
implement this? Does anyone have a solution, I
2010 Sep 06
2
Background Task: How to?
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 intended for things like this?
Thanks!
--
You received this message because you are subscribed
2008 Apr 08
2
Speex and C5510
Hi,
I'm use a DSP C5510 to implement a solution with voice, but I'm a
beginner in the world of DSP, any one has a example or documents about
how to use a speex in DSP's ????
Thanks.
Att.;
Rafael Vieira Gon?alves
skype: rafaelvieira.goncalves
msn: tux_surf at hotmail.com
email: daconfama at gmail.com
P Antes de imprimir, pense em sua responsabilidade e compromisso com o
2008 Apr 08
1
Speex and C5510
Thanks Jim,
But i didnt find this project... It's in CCS folder or on TI site ?????
Thk's
Em 08/04/2008, ?s 15:52, Jim Crichton escreveu:
> The TI directory of the Speex source distribution contains a C5509A
> project that builds and runs in TI's Code Composer Studio
> simulator. This project does file I/O to files specified in the
> main source file. See
2012 May 16
7
Rails 3.1.0 cannot connect to sqlite database on Mac Lion
I''m running Rails 3.2.3 on Mac Lion with sqlite 3.7.7 and ruby 1.9.3p125. I need to back down rails to 3.1.0 for a project but when I do that a simple index page give me a
ActiveRecord::ConnectionNotEstablished
error.
Rails 3.2.3 works, 3.1.0 not. Any ideas?
Just to show you it''s nothing fancy....
Gem file is only:
source ''https://rubygems.org''
gem
2007 Mar 14
11
path vs. url
When using named RESTful routes, when should one use the
generated ..._path helpers, and when the ..._url helpers? Say I did
this in routes.rb:
map.resources :users
Where should I use users_path, new_user_path, etc., and where should I
use users_url, new_user_url...?
Thanks!
Steve
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to
2011 Aug 05
5
Best Mongo Framework to work with Rails
Hi all,
Wanted to hear your opinions about the currently best option for mongo
with Rails.
Thank you all in advance,
Vasco Andrade e Silva
--
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
2011 Aug 09
5
Sqlite 3 install error on Heroku, Rails 3.1
Hello Rails people.
I tried to push a Rails 3.1 app ( created using cedar stack) to Heroku
and I encountered the following error
Installing sqlite3 (1.3.4) with native extensions Unfortunately, a
fatal error has occurred. Please report this error to the Bundler
issue tracker at https://github.com/carlhuda/bundler/issues so that we
can fix it. Thanks!
2010 Sep 21
3
Options for .rspec, or a verbose mode?
Hello everybody, in my app, (using rspec 2.0.0.beta22) I have
my .rspec file with "--colour" in it., I want to know if are there any
other options for this file? And I wanna know if is there a verbose
mode of running my specs, listing their ''describes'' and/or ''its''?
Thanks!
2012 May 06
3
ActionMailer Linode
Hi Guys,
I created a mail server at Linode.
I would like to configure my rails app to send mails using one of this mail
accounts.
Does anybody know any tutorial about how to do it?
Thx
Bruno Meira
--
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
2006 Jan 17
3
file_column :root_path question.
I''m developing on Windows and deploying to FreeBSD+lighttpd using
Switchtower and I''ve got things generally working. My problem now is
that file_column data gets zapped every time I deploy, because
Switchtower creates a whole new myapp/public directory with each rev.
I looked through the file_column docs and found the :root_path option,
which I use in my models as follows:
2008 Mar 31
10
Problems with *_path() and *_url() helpers when using Publisher
Hello,
I am running into issues using *_path() and *_url() helpers the
Facebooker Publisher framework. I encounter the following error when
using these helpers while *inside of a partial*:
undefined method `default_url_options'' for ActionView::Base:Class
I''ve seen a few other people speak about this issue, yet I haven''t
seen any resolution on the mailing list yet.
2008 May 21
3
How to access Rails::Configuration instance methods
There was a thread yesterday about ENV["_"] which is not available to
Windows,
I got to playing around with how to find access to the
initializer_path or in this case the root_path
My question is more about why I don''t have access to what appears to
be a public method than finding the root_path.
I did this in 2.0.2 with script/console
The Rails object has a Configuration
2008 Feb 18
3
Find a processor for a VOIP project
Hello,
I'll start a voip project, but i don't know which DSP is more
indicate for the project. Any one can help me??? Which processor is
more indicate for speex use ???
Thank you!!
Rafael V. Gon?alves
2006 Jun 28
6
file_column plugin. Storing files outside RAILS_ROOT
I also posted this on Rails Engines forum. Sorry for the double post.
I am trying to configure file_column plugin so that it stores the images
in a directory completely outside of RAILS_ROOT.
I have no problems in storing the files by setting :root_path option.
But I can''t get to display these images using ''url_for_file_column''.
What I get instead of the image is
2006 Apr 16
7
Problem running unit tests
I am running Rails 1.1.2 with Ruby 1.82-15. My database is Postgresql. I
haven''t had any problems generating models, migrations, using scaffolds, and
generally building and using my application, but I haven''t been able to get
testing to work. I initially just ignored the problem and kept developing,
but would like to add proper testing from here on out.
Currently when I type