similar to: Named routes and a Railscast

Displaying 20 results from an estimated 500 matches similar to: "Named routes and a Railscast"

2009 Aug 25
28
Anything but Aptana
Not trying to get into a "What''s a good IDE" here, BUT....On Windows....RadRails never cut it. Under Aptana, it''s a terrible joke, and I''m sick of losing so much time waiting not only for this thing to initialize, but the hanging and crashing I go through is killing me. Please, someone....point me to a decent, lightweight IDE. All i want is syntax coloring.
2013 May 13
0
Middleware example from Railscast #151 doesn't work as expected. Need help.
My middleware class "ResponseTimer" doesn''t intercept a request. I don''t know why (the example is from here http://railscasts.com/episodes/151-rack-middleware?view=asciicast; I changed my one a little for Rails 3.2.13 version, the original is for Rails 2.x). So I did as follows: ## in \lib\response_timer.rb ## this is the class of my custom middleware: class
2017 Jun 12
0
AIX packaging: src/plugin/quota does not build
#stdout to /dev/null to see only the error messages It comes down to more issues with how IBM xlc handles (less elegantly) Compound Literals compared to GCC. michael at x071:[/data/prj/aixtools/github/dovecot/x071-test]make -i >/dev/null "../../../../src/x071-test/src/plugins/quota/quota.c", line 382.17: 1506-196 (S) Initialization between types "char* const" and
2011 Nov 01
2
Railscast 262 different partial in helper
Hi RoR Community, in Ryan Bates Railscasts Episode #262 he put the index code <% for message in @messages %> <div class="message"> <div class="created_at"><%= message.created_at.strftime("%B %d, %Y") %></div> <div class="content"> <%= message.content %> </div> <div
2008 Oct 24
4
Railscast 75, Observe_field and Shopping Cart
Hi all, I have the shopping cart page where a user can add items dynamically through ajax as explained in Railscast episode 75. I am using observe_field to observe the ''quantity'' and ''cost'' fields to update the total field for each item. This does not work however, for records that are added through the Ajax. How can i name the fields and observe them as i have
2010 Jul 13
1
will_paginate destroys link_to_remote?!
Hello, I''ve got a list in a view and each of element of it has a link_to_remote and everything worked like a charm. Now I added AJAX pagination and the link_to_remote doesn''t work anymore. This is the partial of the list: <% for character in characters %> <%= character.name %> <%= link_to_remote t(''.add''), :url =>
2009 Oct 29
0
Javascript in text field with autocomplete
If I am using the autocomplete plugin, and I have a text field specified in a form that incorporates autocomplete, such as: <%= text_field_with_auto_complete :doctor, :organization, :autocomplete => "off" %> how can I put javascript event handlers to if (e.g. keypress, onchange, etc.) ? WHat I really want to do is call a method in my controller if either: 1. The text field is
2009 Dec 12
2
View change on db field change
I have an issue whereby, say I have a button in a view......that shows one way if a boolean field in a db is true, and another way when it is false. When the value of that field in the db changes, I want the button;s state in the view to change as well. How would you guys recommend I do this? Thanks, R.Vince -- You received this message because you are subscribed to the Google Groups "Ruby
2010 May 05
0
Auto_complete with has_one association
Hi, Have an issue with the rails auto complete, it works fine but I don''t know how to find the id element search in the textfield. Here is what I''ve done: <%= text_field_with_auto_complete :user, :ville_name, { :size => 15 }, { :url => formatted_villes_path(:js), :method => :get, :param_name => ''search'' } %> Model: class User <
2017 Jun 10
0
Pacaging/build issues with AIX and vac (dovecot-2.2.25)
On 10/06/2017 17:23, Michael Felt wrote: > On 10/06/2017 14:42, Michael Felt wrote: >> >> Next chapter in packaging.(Not meant to be extensive, only what I run >> across and is easy to report) > > c) > > 378 | int quota_root_default_init(struct quota_root *root, const > char *args, > 379 | const char **error_r) >
2017 Jun 10
2
Pacaging/build issues with AIX and vac (dovecot-2.2.25)
On 10/06/2017 14:42, Michael Felt wrote: > > Next chapter in packaging.(Not meant to be extensive, only what I run > across and is easy to report) c) 378 | int quota_root_default_init(struct quota_root *root, const char *args, 379 | const char **error_r) 380 | { 381 | const struct quota_param_parser default_params[] = {
2010 Dec 25
1
Advanced search without database
Hello guys, Im trying to make an advanced search form, actually i did like Ryan Bates teaches in this railscast : http://railscasts.com/episodes/111-advanced-search-form But my problem is that i dont want to save the searches in my database and i dont know how to do this... In the railscast, there was a comment like this: *14. Karl <http://www.vbsfinder.com/> May 26, 2008 at 23:01 *
2012 Dec 19
0
Oracle listner with port forwarding issue
> bundle exec rails s => Booting WEBrick => Rails 3.1.5 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Warning: NLS_LANG is not set. fallback to US-ASCII. [2012-12-19 12:17:10] INFO WEBrick 1.3.1 [2012-12-19 12:17:10] INFO ruby 1.9.3 (2012-10-12) [x86_64-linux] [2012-12-19 12:17:10] INFO WEBrick::HTTPServer#start:
2013 Feb 12
2
Rails parameters get lost because of jQuery link
(Original post: http://stackoverflow.com/questions/14569721/rails-parameters-get-lost-because-of-jquery-link, unfortunately no response) I saw this Railscast ( http://railscasts.com/episodes/240-search-sort-paginate-with-ajax) the other day and wanted to use the techniques for an application of mine. I have a page with elements on it and I want to sort them by values and select them by tags.
2009 Jul 29
1
Empty result set after migration
Someone sent me an app with migrations. I am using sqlite for my db in test. I succesfully run rake db:migrate RAILS_ENV=test And when I go to run this app, get "empty result set." Is tehre something I am missing here?
2010 May 04
1
Objective: to create a Joint Probability Table and save as a csv file (with headers).Input: A csv file (with headers) containing raw data, arranged by columns.Variable: number of bins for each column of data, default to 5 bins per column.Data
Hi Roscoe, I couldn't make it though that excel worksheet without my eyes glazing over... but do you want something like data(mtcars) tab <- xtabs(~cyl + gear, data=mtcars) tab/sum(tab) ? Best, Isat On Mon, May 3, 2010 at 10:08 PM, Roscoe <Roscoe at exemail.com.au> wrote: > Dear R-Help, > > First post, be gentle... > > I am new to R: I can perform basic functions
2008 Jan 23
2
integrate_views is not executing my views
I wanted to use "integrate_views" as Ryan explains in his RailsCast #71 (http://railscasts.com/episodes/71) ...but I can''t get it to work: the view code in not executed I looked everywhere but I can''t understand what I am doing wrong. Here is what I did: I created a new application from scratch (Rails 2.0.2), added rspec and rspec_on_rails plugins, and run
2007 Jul 21
0
Mocha featured on Railscasts
Cool. Thanks for letting me know. On 21 Jul 2007, at 09:20, Chris O''Sullivan wrote: > Heya James, > > I thought you''d like to know that Mocha featured in the latest > Railscasts. > > Check it out here: http://railscasts.com/episodes/60 > > -Chris >
2010 Aug 18
2
auth logic - password confirmation
Hi, newbie here. :) i have this form on a test rails app: <% form_for @user do |f| %> <%= f.error_messages %> <p> <%= f.label :username %><br /> <%= f.text_field :username %> </p> <p> <%= f.label :email %><br /> <%= f.text_field :email %> </p> <p> <%= f.label :password %><br
2010 Mar 31
5
undefined method `each' for "":String
I implemented creating an object within another object according to this Railscast: http://railscasts.com/episodes/74-complex-forms-part-2 but I''m getting this error after I submit. Any ideas? undefined method `each'' for "":String -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this