search for: railscast

Displaying 20 results from an estimated 260 matches for "railscast".

Did you mean: railscasts
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. T...
2011 Mar 07
4
Railscasts down?
I have not been able to get railscasts.com recently, surely it has not been taken down also, along with the wiki. Colin -- 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.gman...
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 >
2009 Oct 06
0
Named routes and a Railscast
I''m looking at railscast#102 ( http://railscasts.com/episodes/102-auto-complete-association ) and when I implement it, a certain named ( "formatted_channelnotes_path(:js)" ) route is used in: <%= text_field_with_auto_complete :channel, :channelnote_name, { :size => 15 }, { :url => formatted_channelnotes...
2007 Oct 17
2
Complex Forms (From Railscasts.com)
Hi, I have been watching the last three episodes on railscasts.com in which he goes through dealing with multiple models in one for using fields_for, and virtual attributes. (http://railscasts.com/episodes/ 73). Here is an example of the way they suggest to go about it: # projects_controller.rb def new @project = Project.new 3.times { @project.tasks.bui...
2010 Nov 14
5
Authlogic and rails 3 : NameError in User sessionsController#new
Hi everybody, I''ve installed Authlogic on Rails 3 following the Railscast (http:// railscasts.com/episodes/160-authlogic), and the resources I was able to find on the web, but I''m facing a problem. Once I''ve generated the user_sessions controller and mapped the login and logout routes, I get an error if I try to load the login page : uninitialized cons...
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 ResponseTimer def initialize(app) @app = app end...
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.co...
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. Also I tried to combine it with the nice jQuery links. In...
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 * *For those who...
2012 Oct 19
1
Globalize3 gem, upload data from CSV
...forum. But I''ll try. Currently I am using a gem, Globalize3, which is useful for model I18n. https://github.com/svenfuchs/globalize3 Say, I have a model City, having only one column, name. City names appear differently depending on the language, so perhaps this particular gem is useful. RailsCast is nice http://railscasts.com/episodes/338-globalize3?view=comments My app has already many city names in ENGLISH and now I would like to add city names in other languages as well. In order to do so, from my understanding, find a particular City entry c = City.find(...) c.name = "Tokyo...
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 explained? is o...
2011 Dec 20
4
Custom Devise Controller
Hi Guys, I was wondering if sb could help me. I have the following problem: -I want to create a complex form using railscast tutorial ( http://railscasts.com/episodes/73-complex-forms-part-1). Well, to perform this I need to update my controller(in this case the controller responsible to manipulate user). But I''m using Devise gem and I don''t know how I could manipulate the controller created by Devise....
2008 Nov 12
2
Using Active Resource in ROR Application
Hi all, I want to use Active Resource to communicate with other application. How can i use Active Resource in my ROR application. anyone knows please help me out. Thanks and regards, Shripad --~--~---------~--~----~------------~-------~--~----~ 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 Nov 24
4
How to upgrade rails 2 application to rails 3?
I developed a rails application using rails 2.3.8 version but now how to upgrade this application in rails 3.0 version. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe
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 plugi...
2013 Mar 04
2
Model/google maps display
Hi all, I''m building a ror app and have a model with geo-coordinates would like to use the info in the model to generate a google map view, does anyone know what''s the best way to go round this? is is Google API?, I''ve also seen a gmaps4rails, any comments? Thank you in advance, Jax -- You received this message because you are subscribed to the Google Groups
2007 Dec 26
2
Overriding or changing HTML generated by date_select?
Hi, I''m looking for a way to customize the HTML forms generated by date_select. I''m especially keen on replacing the year and possibly day input by a simple text field, since honestly, I find listboxes for years to be quite retarded (if I wanted client-side validation, there would be better ways to do that instead of having people try and find their year of birth in a list of
2010 Aug 18
2
auth logic - password confirmation
...rd %><br /> <%= f.password_field :password %> </p> <p> <%= f.label :password_confirmation %><br /> <%= f.password_field :password_confirmation %> </p> <p><%= f.submit %></p> <% end %> I am following this railscast here http://media.railscasts.com/videos/160_authlogic.mov Half way he changes password_field and also ads password_confirmation and it works great in the video but for me i get this error undefined method `password_confirmation'' for #<User:0x1036485d0> how come that password_confirm...
2008 Jun 18
7
Object Task at episode 74 of railscasts
Hi. In the episode 74 <http://railscasts.com/episodes/74>, Ryan has a model "project" that can have many "tasks", and he uses link_to_function to dynamically add a field in the form for a new Task. In order to do that he created a helper called add_task_link. The code of the method is: # projects_helper.rb def...