Displaying 20 results from an estimated 60000 matches similar to: "how can i hide controller and action name in url"
2010 Jul 16
0
i do not want to change my site url through out site
Hi,
I am new in ROR.
my current url is like:
http://rails-forum.com/profile.php?action=change_pass&id=41665&key=DIa6MR9n
but i want to show this url like:
http://rails-forum.com/
through out site even we click any link on the site.
Please help me. How can i do this in ROR.
Thanks
Amit Jain
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are
2012 May 01
1
RoR Developer
Remote work possible.
Location: Columbia, SC
Duration: 12+ months
Rate: $60/hr
Daily Responsibilities:
Ruby coding, using rails, testing, generating ad hoc reports for client as
needed, providing daily status updates to team, Presence on internal IM
system during work hours.
Required Skills :
RUBY, RAILS, GIT, MYSQL, CUCUMBER, RSPEC, JQUERY, EXCELLENT, LINUX, OS X,
JSON, COMMAND
2010 Jul 30
0
`load_missing_constant': uninitialized constant Rails::Railt
Hi All,
I run
rake gems:install
rake gems:unpack
If i add
configure the rspec-rails gem in config/environment.rb:
config.gem "rspec-rails", :version => ">= 1.3.2"
and then run server. I am getting this error:
/home/Amit/Myworkspace/MyApplication/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning:
2006 Mar 18
1
How to hide controller name in the url?
Hi!
Assume that there are 2 controllers: user and admin.
Is it possible to remove ''user'' from the url?
So i.e. if you''re trying to login, you won''t access
www.server.com/user/login
but
www.server.com/login
Is it possible to do something like this with groups of controllers (if
user was just the name of a group of controllers).
--
Posted via
2009 Nov 26
1
Can the http response and the controller/action finish be separated?
Hi all,
I have a situation where a very simple request can trigger a time-
consuming operation, but the requesting page doesn''t need the result
of the lengthy computation. In the standard controller action of
handling the http request, it appears that ack''ing the request is
closely coupled with completing the request. Can this be altered in
order to separate these two actions
2012 Mar 06
0
Devise/Cancan Signout User On Controller Action
I have implemented Devise for Authentication and Authorization in ROR
application everything seems fine but getting one issue. I have two
modals "Account" and "Transactiona" , and so two controllers
respectively.
My Transaction Index view call one of Account Controller method like
this
2012 May 03
3
Why I have to set two unnecessary params in controller action after i send form_tag?
https://gist.github.com/2585733
This is my code.
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For
2006 Jan 30
10
How to hide port number from URL?
I just installed RoR on my server and I can access it using port 3000,
but it''s not very nice to have it in the URL. How can I hide the port
from the URL?
Thanks,
--
Posted via http://www.ruby-forum.com/.
2010 May 12
1
Rails 3: perform controller action upon selecting menu item (UJS?)
In Rails 3, I have a form that has a menu on it. I would like to
render an area containing text fields within the form differently
depending on what''s selected in the menu.
Prior to Rails 3, one way it appears I could do this is by using
observe_field on the menu and call an action in my controller that
renders the appropriate partial which could then be swapped into a div
in my form.
2012 Dec 16
3
Running code in another controller action
I am doing a partial render in the view from one controller. Here is the
code -> <%= render :template => ''restaurants/new'' %>. I want the other
controller new action code to do it. Is there a way to call an action in
another controller ? I don''t want to duplicate the same code in two
controllers.
--
You received this message because you are
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
2012 Feb 07
10
Ruby Developer position
Please let me know your interest in following.
Location: Columbia, SC
Duration: 12 months+
Rate: $65/hr 1099/c2c
Required Skills:
RUBY, RAILS, GIT, MYSQL, CUCUMBER, RSPEC, JQUERY, EXCELLENT ORAL AND WRITTEN
COMMUNICATION SKILLS, TEST-DRIVEN DEVELOPMENT, LINUX, OS X, JSON, COMMAND
LINE, SQL, SSH, HAML, SCSS
Thanks
Sandeep
Sandeep Jain
Software People Inc.
www.softwarepeople.us
2010 Dec 20
4
Subselection by URL
Hey guys,
I''m quite new in RoR, so please excuse me when I may ask weird
questions.
I am working on a database frontend. The layout looks mostly like
a has_many bs
b has_many cs
c has_many ds
and so on. Now I want to do some selection. Maybe I want to see all ds
belonging to a specific b. I would like to do it like:
http://my.host/bs/1/ds
When I click around there (add new ds, show a d
2013 Jul 22
0
rails is not to logging controller, action, parameters, complection time, etc in development mode
For this one particular project, rails is not to logging controller,
action, parameters, complection time, etc in development mode. And I am not
sure why.
When I check in the console the log level I notice:
Rails.logger.level
=> 0
So I am not sure why it doesn''t log the information it usually does during
a request.
--
You received this message because you are subscribed to
2013 Jan 10
0
TCPSocket in controller action
Hi,
in order to stream a file I am making use of TCPSocket. Unfortunately I
dont receive contents when in use the tcpsocket in a rails controller
action while it is working on console.
url = "http://www.google.de"
version = request.env[''HTTP_VERSION'']
verb = request.env[''REQUEST_METHOD'']
# url =
2010 Sep 03
1
Action Controller Error: undefined local variable or method `current_user'
Newbie learning Rails. I''m currently on Chp9 here:
http://railstutorial.org/chapters/sign-in-sign-out#top
At the end of the tutorial, rails is erroring (see below). being new
to Rails and after having checked the tutorial... How do you resolve
this kind of error. It''s saying current_user is not defined, and it is
supposed to be defined with/Sites/sample_app/app/helpers/
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 Jul 27
3
regarding the controller and view
Hi all,
I am new to ROR. I got a simple problem.i am not knowing how to get a
value from controller to different view.please can any one help me with
this.Thankyou.
--
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 May 13
1
Routing - newbie question about shorting the url
Hi
Right now I have my url showing as the following:
http://localhost/categories/italian/recipes/special-pasta-sauce
I would like it to be:
http://localhost/categories/italian/special-pasta-sauce
(or even http://localhost/italian/special-pasta-sauce)
my category model has_many :recipes and my recipes model
belongs_to :category (for the purposes of my test project a recipe
can only belong to one
2010 Jan 31
6
Action path - syntax error, unexpected tIDENTIFIER, expecting ')'
I have a user controller with login as action.
When I access the index.html.erb file via application.layout file. I get a
error on the login link on the index.html.erb page. I think I am having
dfifficulty in setting up path to an action or even understanding how to set
REST path properly. Can someone please help me.
Here is the error on the home page: