similar to: how to add plugin to ActiveRecord

Displaying 20 results from an estimated 100 matches similar to: "how to add plugin to ActiveRecord"

2017 Feb 09
1
Users list and the date the password will expire
On 02/09/2017 11:25 AM, Ole Traupe via samba wrote: > Exactly, and got reminded that I don't have to grep anything but can ask > for specific parameters. Been a while that I used ldbsearch. ;) > So there will be an updated version of your script? :-) Your script is something we could use as well, appreciated! MJ
2012 May 16
2
Idea for feature recursive ssh: "scp file user1@gateway:user2@server:"
[I sent this email to the list in January but haven't seen it appear. Maybe it didn't get through moderation?] How many times have I typed in one window ssh -L 8022:server:22 user1 at gateway only so that I can type (in another window!) scp -P 8022 file user2 at localhost: This is a pain: * cumbersome * requires two commands windows * confuses ssh's host key
2009 Feb 04
4
Rails 2.2.2 to_date and to_datetime methods
In the console I see this behaviour: >> "19270412000000".to_date.methods => ["ns?", "mon", "ago", "end_of_month", "months_since", "default_inspect", "minus_without_duration", ... >> "19270412000000".to_date.class => Date >> "19270412000000".class => String >>
2007 Nov 16
1
Missing methods patch for Time::Calculations
Time::Calculations provides methods like "end_of_month", "beginning_of_year" and so on. But it lacks other related methods like "end_of_week" and "end_of_year" that I think should be expected to be there. Here is a patch adding those methods: http://dev.rubyonrails.org/ticket/9312 +1''s? Juanjo --~--~---------~--~----~------------~-------~--~----~
2008 Oct 14
4
replace_html not working
hallo, everyone can anybody help me? i did add my code under ENGINES as a module in a project. before the change , all worked . and the differenz between both is only about application''s environment, before is Ruby version 1.8.6 (i486-linux) RubyGems version 1.1.1 Rails version 2.0.2 Active Record version 2.0.2 Action Pack version 2.0.2
2017 Feb 08
3
Users list and the date the password will expire
On Wed, 8 Feb 2017 18:32:15 +0100 Ole Traupe via samba <samba at lists.samba.org> wrote: > That was weird: didn't see (expect) there to be a discussion right on > the same topic going on at this very moment. > > Ole > > > On 08.02.2017 17:37, Ole Traupe via samba wrote: > > Hi list, > > > > long time no see! :) > > > > I was looking
2005 Aug 08
5
In-Line List Editing with AJAX
I''m trying to write an interface for editing many-to-one relationships with AJAX. Picture the to-do editor in Backpack (and, to a lesser extent, Basecamp) and you''ll have a good idea of what I''m trying to do. I''ve almost got everything working: the ''edit'' link hides the stored data and replaces it with a form, and the data is updated in the
2006 Jan 26
1
end_of_month()
I noticed that ActiveSupport::CoreExtensions::Time::Calculations::ClassMethods.end_of_month() returns a new Time with the time set to 00:00:00. I expected it to return 23:59:59. Am I missing something? Should this be changed? Scott
2006 Feb 23
5
Access to session from plugins
Hi! I am writing an acts_as_ plugin and i need to access session data from it. But i cant find any information if this is possible? And if it is, how. Cheers! Mathias
2008 Jun 30
0
Ruby on Rails Developers needed: San Francisco, CA Fulltime Perm
We are a venture funded start-up that is looking to develop a 4 person Agile Ruby on Rail Development Team. We are working with ******* to develop our software right now and are looking to build out our own team of 4 developers within the next few months. We are building enterprise class software to help F1000 companies build environmental sustainability into their culture. The basic function of
2009 Aug 19
10
acts_as_list / acts_as_tree / acts_as_nested_set - which one
I am creating forum application which needs usage of acts_as_list or acts_as_tree or acts_as_nested_set. I am unable to decide among these. please could some one recommend from their experience? -- Posted via http://www.ruby-forum.com/.
2007 Sep 10
2
Removing an AR class definition, for testing plugins
I''m writing an acts_as_* plugin and am trying to BDD it. Ideally my specs would look like: describe ActsAsCloneable, " basic cloning" do load_example_classes School.class_eval do acts_as_cloneable end before(:each) do @old_school = School.create! :name => "Baylake Pines", :city => "Virginia Beach", :guid => "abc123"
2006 Jun 01
2
Migrating Data from Many Databases to One
I had some concerns about breaking Rails table relationships (:has_many, :has_and_belongs_to_many, :belongs_to, :acts_as_*, etc) when moving multiple databases (using the same application) into one. I seem to be stuck when trying to wrap my head around a good database design for what I would like to do or if I am just completely not thinking straight. I guess this isn''t related
2011 Mar 14
0
Problems with viewing my calendar
Hey dudes, i''m trying to build a small calendar into my app. I follow the steps shown in http://railscasts.com/episodes/213-calendars, so i go with the table_builder gem, which allows to use the calendar_for command. But unfortunately it doesnt work or rather show the results in my view-template. I even got no error-message. It only shows this: (twice!!?!) Calendar < March 2011 >
2005 Nov 02
4
acts_as_metadata?
I''m running into the need (on at least one project now) to implement end-user-customizable "metadata" or properties on model objects. The standard example would be a Person class that had first_name, last_name, etc. but would need to be extended real-time (through the web admin interface) with properties such as phone_number : varchar (30). I''ve done some basic
2008 Jun 04
0
FreeBSD.org begins switch to Subversion
The FreeBSD Project has begun the switch of its source code management system from CVS to Subversion. At this point in time, FreeBSD's developers are making changes to the base system in the Subversion repository. There is a replication system in place that exports our work to the legacy CVS tree on a continuous basis. People who are using our extensive CVS based distribution network
2006 Apr 26
8
Search multiple models
Hello, Lets say you have a few models like Post, Article, Wiki, Comment, And you want to use ferret to search all of them at once. How would I set up the latest acts_as_ferret to accomplish this? And what would be fastest for searches? 1 index for all models, or have an index per model? Thank you -- Posted via http://www.ruby-forum.com/.
2005 Dec 11
62
PROPOSAL: The list needs to fork (desperately).
I''d like to propsoe that the RubyOnRails mailing list forks into three lists. PROBLEM: * The list is getting swamped with traffic, making it hard to use and even harder to follow. * Many, many messages get lost, with no reply. * Due to the overwhelming traffic, it''s hard for beginners to get the help that they need, since their messages get lost in the shuffle, and
2006 Feb 07
4
Ferret on Rails -- Webrick won''t start?
Hello, I tried using http://ferret.davebalmain.com/trac/wiki/FerretOnRails but Webrick won''t start after implementing the plugin? I tried both versions but to no avail? All I get is Booting up ... and then it dies? No info in log/development.log? Does anyone has a working copy of acts_as_ferret or has any ideas on what''s wrong? I am placing the plugins
2006 May 23
11
putting the schema in the model files
THE SCHEMA IN THE MODEL a small write up on ''putting the schema in the model'' This is a write up on an issue best covered in a mailing list thread of Januari 2006 (see the links in the text), I repost it because I think it deserves a place on the agenda. == Why? == I was switching back and forward between the model files and the schema.rb -- off course I have