search for: abder

Displaying 13 results from an estimated 13 matches for "abder".

Did you mean: abdel
2010 Jul 19
6
Setting a root_url
I know how to setup a roo_url using map.root in "routes.rb". The issue I''m currently having is as follows: I walking through this Rails cast regarding Authlogic: http://railscasts.com/episodes/160-authlogic I decided that I make my map.root the "login" page, that is, the index.html.erb of the user_sessions_controller. So, what I did is typed the following in the
2010 Aug 08
0
registerable method undefined in Devise migration (was Re: Re: No route matches)
On 8 August 2010 23:39, Abder-Rahman Ali <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > I tried to make the application from scratch again, and > notices that I get the following when I run: $ rake db:migrate > > (in /Users/abder/Desktop/Rails/auth) > ==  DeviseCreateUsers: migrating > ========...
2010 Jun 14
2
stylesheet_link_tag
I know that the following statement loads the scaffold stylesheet, but what exactly does stylesheet_link_tag do here? <%= stylesheet_link_tag ''scaffold'' %> Thanks. -- 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
2010 Sep 22
8
ActiveScaffold and partials
I was thinking of doing partials as I did in the simple Rails application I worked on today. But, since I''m using ActiveScaffold, I didn''t find any *.html.erb in the views folder of the Rails application that I need to make my partials! How can I work with partials in ActiveScaffold? Thanks. -- Posted via http://www.ruby-forum.com/. -- You received this message because you
2010 Sep 15
5
Hide an image in show.html.erb
I have the following "show.html.erb" script, and I get as an output TWO images since I use a method to draw an image. How can I HIDE the RESOURCE image? Thanks. Here is the script: <canvas id="line" height="512" width="512"> </canvas> <p id="notice"><%= notice %></p> <p> <b> Name </b> <%=
2011 Aug 05
2
Scatter plot in R
Hi, I have 334 records, with two columns: Column (1): Resolution Column (2): Number of images with a specific resolution How can I make a scatter plot in R with this data? Is there a way to *import * the records, since it will be time consuming to enter 334 records? Thanks. [[alternative HTML version deleted]]
2010 Aug 12
2
session
I tried to understand what a "session" means in Ruby on Rails, and found this site: http://www.tutorialspoint.com/ruby-on-rails/rails-session-cookies.htm But, really, I couldn''t get the idea well yet. Can you just explain what "session" means mire further? Thanks. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to
2010 Aug 18
6
undefined method `eq' for nil:NilClass
I''m walking through an example in the "Head First Rails" book, but, instead doing the examples using Rails3.0.0.rc. But, I''m getting this error when browsing for example: http://localhost:3000/advs/1 undefined method `eq'' for nil:NilClass Provided that my advs_controller.rb is as follows: http://pastie.org/private/cd9zntg2ite57ept288kfa Any ideas why
2010 Jun 21
4
Unknown action No action responded to 2. Actions: show
I''m trying to create a simple RoR application that shows me the records inside my table, provided that it is an example I''m working on the "Head First Rails" book. When I try to retrieve the record I get the following message: "Unknown action No action responded to 2. Actions: show" Why am I having that? And, how can I fix this issue? Provided that: 1- I
2010 Aug 06
1
Could not find generator rspec:install.
I''m trying to follow this tutorial here: http://railstutorial.org/chapters/static-pages#top When I run: $ rails generate rspec:install I get: Could not find generator rspec:install. What could be the problem? Thanks.
2010 Jul 18
0
password_confirmation
In Railscasts episode regarding "Authlogic" http://railscasts.com/episodes/160-authlogic, at 5:39, it adds a password confirmation field, and calls it :password_confirmation Is :password_confirmation part of the Authlogic or can be used originally with Rails? Thanks. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google
2010 Sep 20
0
file_field
At: http://www.tutorialspoint.com/ruby-on-rails/rails-file-uploading.htm You can find: <%= file_field ''upload'', ''datafile'' %> I saw the file_field documentation from here: http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-file_field But, still cannot get how the parameters ''upload'' and
2010 Sep 21
1
NameError: uninitialized constant Dispatch
In the "Rails Way" book, following an example, I came to a point where I had to run: Dispatch.dispatch But, I get the following: irb(main):003:0> Dispatch.dispatch NameError: uninitialized constant Dispatch from (irb):3 I want to mention that I''m using "Rails 3.0.0", and the book seems to use an older version of Rails, is that the issue? What is the