Displaying 20 results from an estimated 50000 matches similar to: "Limited url access"
2009 Dec 03
2
Dynamic Paths
Hey there,
I''m in the muck of a major rails project, and need a bit of advice. Google
isn''t much help in this case, so I came here.
I''m trying to set up a URL structure as follows:
url.com/username/blog/post_id
where the user has_many posts and the post belongs_to user. I''m using the
friendly_id plugin to enable easy lookup with the user''s username,
2006 May 30
3
Help about CMS - newbie in RoR
Hi team, I''m a very newbie RoR user from Spain and I''m developing a
blog''s CMS. Why RoR?, coz I think it''s an amazing framework with many
posibilities, portable and really powerful, with a young and optimist
community, and taking my project I''ve prefered his structure in front of
LAMP. Another thing is that I''ve liked to surprise my masters
2009 Jul 02
7
Params Merge and URL sorting/pagination
Hi all,
Here''s my general setup on the specific template I''m having issues with:
will_paginate for pagination
custom methods for sorting
1-form for team search
1-form for search by date
When searching for a team for instance, the url returned will be:
/rushing_offenses?search=Florida
When searching by date, the url returned will be:
/rushing_offenses?compiled_on=2009-07-02
2010 Sep 06
2
Adding Configuration Options
So, I'm in the middle of understanding how the icecast.xml file is parsed,
and how the settings for a specific mount point are read.
In cfgfile.c - _parse_mount() I've added the following lines:
} else if (xmlStrcmp (node->name, XMLSTR("playlist-notify-uri")) == 0) {
mount->playlist_notify_uri = (char *)xmlNodeListGetString (doc,
node->xmlChildrenNode, 1);
}
2011 Jan 24
1
Source Authentication URL and Params
After hours of searching the net, I can't seem to find information on
exactly what happens during the authentication handshake between a source
client and the icecast server. (Before it starts sending audio.)
What headers, parameters, etc does the source client need to send to the
server, and what should the client expect in return?
Nicholas
-------------- next part --------------
An HTML
2006 Jul 12
3
How to get the current URL?
Hi,
how can I get the current URL withing a controller? There seems to be no
appropriate method in ActionController::Base.
I''m creating a site, which requires a login for some pages. I''m using
before_filter for authentication. My idea was to store the currect URL
in a session before redirecting to the login page and then redirect to
this URL after successful authenfication.
2010 Oct 02
1
limit-rate usage
As a stream host selling bandwidth space, we are interested in this change.
Currently we need to use software we have written to periodically check if
all streams do not exceed the bitrate purchased. If one is found, a manual
email is written to them.
I'm just wondering if your routines take into account internet congestion
where the stream may be uploaded at a slower rate for say 30
2009 Jan 27
0
Swat access question
Hi All,
I'm a new user to Samba and I'm just having trouble with one or two
things. I've been able to sort most of them out myself but I was wondering
how can you get full access to Swat. Obviously the root user gets all the
access requiremnts but my own unix user only gets the Samba Documentation
screen within Swat. I have tried adding my user id into admin users but
this
2010 Oct 01
2
limit-rate usage
So, I've googled around, and can't seem to find anything regarding usage of
limit-rate inside of the mount tags.
So...
<mount>
blah... mount settings here
<limit-rate>(How to set the number here?</limit-rate>
</mount>
Any help would be appreciated.
Nicholas
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jul 09
1
Accessing the name of a controller''s module?
If I''m redirecting to a log in page, and saving the controller and
action name in the session hash, how do I also save the controller
module?
After the log in is completed, I can''t redirect back to the originally
directed page because it''s in a different controller module. For the
controller action name I can use the ActionController instance method
controller_name(),
2006 Jul 26
0
Making methods in application.rb not accessible to the web?
How would I got about making methods in application.rb not accessible to
the web, BUT accessible to my views via the controller object.
I noticed I can do:
controller.controller_name in my views
But I can not do:
whatever.com/controller/controller_name
Making all of the methods in the application.rb protected works, but I
can not accessed them in my views.
Thanks for your help.
--
Posted
2008 May 28
0
[LLVMdev] LLVM project binary size
On May 25, 2008, at 11:29 PM, Nicolas Capens wrote:
> Hi all,
>
> I’m a little bit worried about the sheer size of the resulting
> binaries of a project using LLVM. The medium large project for which
> I’m planning to use it (which currently uses a custom dynamic code
> generator), produces a compact 1.6 MB binary. When I compile LLVM’s
> simple ‘Fibonacci’ example
2006 Jul 22
4
Accessing the controller name in your views?
I need to know what controller and action the user is currently in
to do various things in my layouts/application.rhtml file. Isn''t
there is a better way than:
<% if params[:controller] == "whatever" && params[:action] ==
"whatever" %>some html<% end %>
I know in the controllers you can just use controller_name, but that
is not provided
2010 Sep 06
0
Adding Configuration Options
On 06/09/10 16:42, Nicholas Young wrote:
> So, I'm in the middle of understanding how the icecast.xml file is parsed,
> and how the settings for a specific mount point are read.
>
> In cfgfile.c - _parse_mount() I've added the following lines:
>
> } else if (xmlStrcmp (node->name, XMLSTR("playlist-notify-uri")) == 0) {
> mount->playlist_notify_uri =
2011 Dec 12
0
<%= render_component %> Tag cloud issue for rails version 2.3.11
hi all,
in my application there is tag''s cloud in old code which is load using
following code
<%= render_component :controller => "controller_name", :action =>
"tag_cloud_homepage"%>
now i upgrade the ruby,gem and rails version to
Ruby :1.8.7
Rails :2.3.11
gem :1.6.2
and i am using Windows XP as O.S
my question, now in Rails 2.3.11 "<%=
2006 Jul 06
0
Layouts, Searching/Sorting
Two questions for you all...
1. I have an admin section to a site I''m building. Here''s the pertinent
bit of the layout that all controllers are using:
<div id="main-content">
<%= @content_for_layout %>
</div>
<div id="sidebar">
</div>
I''m using @content_for_layout to display various controller actions such
as new,
2009 Jul 28
2
[LLVMdev] RFC: Constant Creation API
Nicholas,
> What if I want to have global llvm::Type's, that can be used by many
> LLVMContext's. For example, I'd like to have one LLVMContext per
> function, and be able to create constants that belong to the context
> but using a global, shared amongst LLVMContext's, llvm::Type.
>
> I know that's not doable right now, but aren't we losing this
>
2006 Apr 27
3
Routing problem
Hi,
I am having a routing problem and can''t figure out why its happing. I
have added the following line in my routing.rb file.
map.connect ''name/:id'', :controller => ''controller_name'', :action =>
''action_name''
When I use http://domain.com/controller_name/action_name/id then it
works fine on the local machine using webrick
2008 Apr 01
1
Navigation Problems
Hi,
I am having problems with my page. I have a banner and navigation bar in
controller_name.rhtml in app/views/layout. Can someone please help?
Thanks
In the navigation bar, I have the following links:
Category1
Sub-Category1
Sub-Category2
Sub-Category3
Sub-Category4
Sub-Category5
Sub-Category6
In the main content, I have the following links:
Sub-Category1 edit delete
2007 Mar 24
1
RSpec and namespaced controllers
I''m running into a problem with RSpec/Rails and namespaced controllers.
I''ve got a controller called ''TenantsController'' in app/controllers
and another called ''Admin::TenantsController'' in app/controllers/admin
In spec/controllers/, I have a tenants_controller_spec.rb. In
spec/controllers/admin/ I have another tenants_controller_spec.rb.
Both