Displaying 11 results from an estimated 11 matches for "primerano".
Did you mean:
primera
2010 Dec 31
6
HTTP Accept header wildcard breaks rails app
...tell my rails app to treat this as rhtml by
default instead of returning a 500?
Missing template [controller]/[method] with
{:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:"text/
*", :js], :locale=>[:en, :en]}
I''ll post a response if I figure it out
Tony Primerano
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/J...
2009 Sep 25
8
Cheapest Rails Hosting where they give you full access to Apache (to load modules etc)???
any pointers / suggestions re cheapest Rails hosting where they give
you full access to Apache (to load modules etc)??? Can be a shared
platform, however not sure if there is a shared platform type hosting
service where they do give you such access?
2010 Oct 27
2
rails version check for gems
...a gem?
Is checking the Rails::VERSION::STRING what folks should be doing?
if Rails::VERSION::STRING.start_with?("3")
do rails 3 stuff
else
do what u were doing
end
Seems like that would break something once Rails 4 comes out. ;-)
Pointers to best practices appreciated. Thanks
Tony Primerano
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/J...
2010 Sep 03
6
upgrading to rails 3.
I''ve installed rails_upgrade plugin with ruby script/plugin install
http://github.com/rails/rails_upgrade.git.
Then if I run rake rails:upgrade:check it says
rake aborted!
no such file to load -- initializer
What I''ve missed?
--
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 Sep 08
2
Rails 2 to Rails 3 - How to convert this sql query ?
Hello all,
Can someone help me with this query ?
Here is the query used in rails 2. The idea here is to obtain the top
10 widgets.
Widget.find(:all, :select => ''widget_type_id, COUNT(widget_type_id) AS
widgettypeid'', :group => ''widget_type_id'', :order => ''widgettypeid
DESC'', :limit => 10)
This is deprecated and i want to port it
2010 Sep 07
3
ActiveRecord::ConnectionNotEstablished error
I''ve attached my database.yml
I''ve installed gem install activerecord-sqlserver-adapter
But when I navigate to a simple page I get the
ActiveRecord::ConnectionNotEstablished error
Any ideas what I should be checking?
Ruby 1.92
Rails 3
Attachments:
http://www.ruby-forum.com/attachment/5016/database.yml
--
Posted via http://www.ruby-forum.com/.
--
You received this message
2010 Sep 01
3
memcache in prod vs dev
I am using memcache for caching in my rails app and currently I have a
dev and a production environment.
I would like to run the dev environment without caching so that I can
debug more easily but I wanna enable the caching in production
obviously. I am using github and capistrano for deployment.
Without doing a check at every statement where I can potentially dig
into the cache, is there any
2009 Sep 25
0
nested model form error messages
I have a form that updates 3 models. To the end user its just a form
and they don''t need to know what is happening behind the scenes. My
problem is that the error_messages_for prefixes errors on associations
with their name. I have a user model that has many addresses. When
a user is signing up errors on address fields show up as
Addresses first name can''t be blank
I
2009 Oct 28
2
render :file cached?
In my application I have a controller/view that displays the contents
of an audit log file
def audit_log
render :layout => ''table'', :file => AUDIT_LOG
end
The audit log is updated frequently but the render call does not re-
read the file so it gets stale. Is there a way to tell render to
check the file timestamp and reload as needed?
2010 Oct 11
0
undefined method `includes_values' for :conditions:Symbol
Rails 3 / Ruby 1.9.2
Over the weekend I saw the "undefined method `includes_values''
for :conditions:Symbol" error for the 1st time while working with
AAF.
http://j-k.lighthouseapp.com/projects/45560-acts-as-ferret/tickets/176-aaf-051-undefined-method-includes_values-for-conditionssymbol#ticket-176-4
Anyway, i fixed the query and moved on.
Today I hit the error again but I
2010 Aug 13
2
Rails 3 / ActiveModel for Credit Card information?
When submitting billing information in the past I''ve always used
attr_accessor for credit card details as they should not be saved in
the database. In addition I always end up storing the card
expiration date so that the date form helper works correctly.
With Active Model it seems logical to create a CreditCard class to
hold this data instead.
**1st issue.**
It seems there still