similar to: why I don''t like to use some 3rd party plugins

Displaying 20 results from an estimated 14000 matches similar to: "why I don''t like to use some 3rd party plugins"

2006 Jul 27
7
''remember me'' using cookies
I''m about to implement this, and I''m thinking of storing the user''s id and their hashed password in the cookie after a successful authentication. can any see an obvious security issue with this? I know the method is vulnerable to cookie theft but am i missing anything? thanks alan
2006 Jun 24
2
contents of /lib automatically loaded?
I''ve written a simple replacement (not extension) of Ruby''s array class with some added functionality. I defined it in array.rb and put the file in rails_root/lib but when i fire up the console the class isn''t being loaded. How can I have my class automatically loaded and used instead of the built in Ruby class?
2006 Jun 24
2
gettext and maintenance
hi all my app has two languages, I''m using gettext to manage them and so far so good. My question is about maintenance. If I fix a typo in a _() enclosed string, for example in an rhtml file, then the translated version of that string will no longer be valid will it? even if the translation itself had no errors. Is that the case and if so will i be forced to have the _() string
2006 Aug 16
15
OT: finding a designer (bit of a rant)
I''ve written my app already. It outputs valid xhtml and I need a stylesheet to drop over the top. How hard is it for people to understand that? It''s a small project, they''d have to do the main design/layout, and then a little custom styling for some specific elements which don''t appear on every page. That''s the point of CSS right? write once, use
2006 Jul 13
3
Validation question
If I am validating an object before it is saved and do a find(:all) of that object class, will the object which is being validated be returned by the find method? something like: class Resource < ActiveRecord::Base def validate resources = Resource.find(:all) ..do stuff end Will the object I am validating be in the ''resources'' array? Thanks in advance, Don Mc --
2006 Apr 02
3
FeedTools syntax question
http://www.mozdex.com/open.jsp?query=webhosting&start=10 in the above feed, can anyone tell me how to access the openSearch:totalResults element using feed tools? I can access the other elements, but I''m unsure what special meaning the colon carries or how to work with such items in feedtools thanks in advance al
2006 Apr 25
5
to ajax or not to ajax
before I started building my latest rails app, I made the decision to make good use of ajax. My reasonsing was that users would benefit from the quicker page updates - the application provides various different types of insurance quotes, and has several multi-page forms and reports that can be drilled down 5 or 6 levels deep in some cases - so it seemed like a good candidate for ajax Now
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.
2006 Jul 13
1
fixtures getting a little hard to manage
I have lots of tests which rely on fixtures being a particular state in order to pass. For example, one test checks that a User object can have no more than 3 associated ''Page'' objects at a time. That''s a simple example but I have more complicated tests too. The problem is I sometimes add a fixture without realising it''ll affect the tests and everything
2006 Jul 22
2
fetching records from tables
Dear all, I have a doubt, How to fetch records from tables, which are not having ID field as its primary key. If possible, please tell me to way to extract data from those tables. -- with regds, Nahalingam N. Kanakavel. (http://www.nahalingam.bravehost.com/PlanetN/) -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 May 26
3
capistrano on windows (again)
Hi all I didn''t get a response to my first post so I thought I''d try again. is anyone successfully using capistrano to deploy their app from a windows box? I''m trying to deploy a test app to my dreamhost account but all i get is "rake aborted!" with no further information. Can someone please confirm if capistrano even works under windows? many thanks al
2005 Apr 28
5
fcgi woes
Hi all I''m running rails on apache with fcgi under windows I have a module which I''ve included in one of my models, but if I change any code in the module, i have to restart apache in order for the changes to take effect. i tried some suggestions from folks in the IRc channel, namely to put RAILS_ENV = ''development'' in environment.rb but that doesn''t
2006 Jul 12
12
pass hash as parameter
Hello, How can I pass a hash as parameter from a template with url_for? e.g. : if I have test = { :a => "a", :b => "b" } How can I pass that with my request? Is it possible to pass nested hash''es to? Right now, url_for :action => :test, test doesn''t seem to work. Thank you, --
2006 Jul 19
5
weird result for a custom attr reader!
Hi all, I am having a weird problem reading a value from my model. basicaly, I have these two models: class Category < ActiveRecord::Base acts_as_tree :order => "name" belongs_to :item_type has_many :specific_category_names end and class SpecificCategoryName < ActiveRecord::Base set_table_name "Specific_category_names" has_many :products belongs_to
2006 Jul 22
3
Connection refused - connect(2)
Dear all, Please help me in this regards, I am using models to access LegacySchemas using set_table_name and set_primary_key... [code for model] class CdDetails < ActiveRecord::Base def self.find_data set_table_name ''cd_details'' set_primary_key ''cd_label'' find (:first, :select => "cd_label") end
2007 Apr 14
5
SAMBA Problem - Users take ownership
Hi, I have a problem with my Samba/WinBIND implementation. In folders shared by multiple people the last one to access and modify a file takes ownership of the file and changes the permissions so other users cannot make changes to the same file: [root@atlas PLANNING RECORDS]# cd REGIONAL\ 1\ AIRLINE\ DOCS/ [root@atlas REGIONAL 1 AIRLINE DOCS]# ls -al total 1232 drwxrws---+ 8 root
2006 Dec 14
3
Error since upgrade to Version 3.0.23a-1.fc4.1 - URGENT
My samba shares aren't working with ACL access since the upgrade. Here is an example of the error from /var/log/messages Dec 14 12:44:17 gfm-atlas smbd[14365]: [2006/12/14 12:44:17, 0] smbd/service.c:make_connection_snum(911) Dec 14 12:44:17 gfm-atlas smbd[14365]: '/usr/GFM_Shares/Users/Receiving' does not exist or permission denied when connecting to [GF_Receiving] Error was
2010 May 17
3
libshout2 with aac
On 17 May 2010, at 21:07, Geoff Shang wrote: > On Mon, 17 May 2010, Jamie Bullock wrote: > >> I'm write an icecast source client and I'd like to support streaming of AAC encoded files. >> >> Can anyone tell me if and how this can be achieved with libshout2/icecast? > > I can't tel you as I don't know, but Ices0 can do AAC (IIRC) so you could look
2007 Jan 25
4
What Happened to my SAMBA? Permissions Issue
OK. Everything is going great for 4 years on my FC3 Samba Version 3.0.3-5. Now all of a sudden, when someone opens a Word/Excel file on a Samba share, it changes the user Owner to that user as well as modifies the permissions to r-x and leaves the group/permission bits/owner setting alone. I have the root directories for all shares with the u and g sticky bits set on, but it is not enforcing
2005 Jan 25
2
ACL not working
Hi I want to set Security to single file, but I keep getting access denied, I can change the Permissions that is alreday displayed, but I can add any user or group, after redaing the samba how to it seems I need POSIX ACL, but the book didn't mention anything about how to use POSIX ACL, Trying to set it from windows doesn't work, can anyone point me to document about POSIX ACL ? BTW