similar to: blog model?

Displaying 20 results from an estimated 4000 matches similar to: "blog model?"

2006 May 25
12
RMagick install problems, advice needed
Hi guys, im trying to install rmagick on windows but i have some problems with the post install, im using win2000, ruby 1.8.4 and rails 1.1, all working well. Then i downloaded RMagick-1.9.2-IM-6.2.4-6-win32.zip from http://rubyforge.org/projects/rmagick/ extracted and do the gem install RMagick-win32-1.9.2-mswin32.gem , the gem was installed sucesfully but when i do the postinstall.rb i get
2006 Apr 19
1
Anatomy of an application in rails
Ok guys, after doing many tutorial arond the web i realize that im not going to learn rails well until a made my own app, so i defined what i want and structured in a way that hope you can understand, maybe we can help each other and define a good starting base(models and relationships) that can be helpful for all of us. Its a little(i think cms), it will consist of basically 4 sections:
2006 Apr 26
2
Rich text editing
Hi people, i just finished my first weblog, with comments, auth and admin zone(yay!) so i was looking for a way to make a rich text editor zone for the posts, right now im using textilize() and <br> html tags to format the text and breaklines so hope some one can give a reference in how to achieve that. Already told you that this rails stuff its amazing :) -- Posted via
2006 Apr 22
3
Making a separate admin zone
Hi, im building a little cms and i want to separate the admin zone controllers in a subfolder(controllers/admin) if possible to all be managed by one login module, i just have managed simple 3 or 4 controller apps so any help you can give me will be very apreciated. ;) -- Posted via http://www.ruby-forum.com/.
2006 Apr 27
7
Role Based Authorization recipe implementation?
i got the rails recipes book, i have now an auth system for users without problems, now i want to made a role based acces for my app, im following the "Role Based Authorization" recipe of the book but i cant make it to work even when the tables created and correctly added data manually definig the roles and rights. als i dont know how to define a right for use all the actions in a
2006 Apr 08
2
ToDo list examples?
Hi guys, im guessing if there?s around a ToDo list example with categories using actual code(1.x) cause every example i found its about 0.x and its hard battle against deprecated code, that way i can see the basic of rails and tables relatios. Regards ;) -- Posted via http://www.ruby-forum.com/.
2006 Apr 21
4
Problem with the Authorization recipe
I just got the rails recipes book and i couldnt be more happy, but inside the book there are some details, mostly typos but this one its one i cant fix, im following the Authorization recipe on page 128 i create the table and the model, the problem comes when i try to assign a password to a user in the console, here is the output: >> justin = User.create(:username =>
2006 Apr 10
10
Anyone has experience with railsplayground.com hosting ?
Im ready to start hosting and deploying some of my rails apps, im guessing if someone are using railsplayground.com shared hosting plan, right now im paying USD $35 for a half of disk space and transfer, with no rails support :( any advice its more than welcome :) -- Posted via http://www.ruby-forum.com/.
2006 Apr 05
3
Rails 1.1 and webrick/mysql problems
i just upgraded to rails 1.1 yesterday and since then i could?nt make it work with mysql, for example i have my database "todo" and one table "todos", i create the app and generate the model but when i try to generate the scaffold with "ruby script/generate scaffold Todo Todo" i get this error " error Before updating scaffolding from new DB schema, try
2006 May 28
4
File_column trouble, advice needed
Finally i have RMagick and the file_column plugin installed, but at the time of uploading images i have trouble, i get "uninitialized constant ArtImage" error and other errors, im following the instructions on http://wiki.rubyonrails.com/rails/pages/HowToUseFileColumn but doesnt seems to work, this its the code im using: #----view <%=
2006 Oct 05
1
Generate image titles with a custom font and rmagick
Hi all, i was experimenting with rmagick but i cant find a way to do this. I want to generate an image containing the title of a blog post with a custom font, for example like this page: http://photomatt.net/2006/10/02/blogtalk-presentation/ Any references or advice in how to do this are more than welcome :) -- Posted via http://www.ruby-forum.com/.
2006 Apr 05
3
Where to find non deprecated docs?
I started two weeks ago with rails and im amazed of what can be done in a short time, i already finished the agile development with rails and some of the tutorials at the documentation section of the rubyonrails.com site. But i realize that many of the tutos and examples around the web and books are using earlier versions of rails (0.x.x) and some of that code and coding practices are
2006 Apr 21
1
Catch authentication result from a model in a controller
Im still following the authorization recipe from the book, now all works fine but im getting trouble in how handle the model authorization result, if the user and pass are correct, it goes to a welcome screen(admin.rhtml) but if wrong the model prints a message in an ugly exception like page "usr and pass not correct", i want to redirect the user to the login
2006 Apr 07
13
Pop up menus - any ideas?
I''ve got a menu in which I have all of my categories as links. Each category also has subcategories. I want to set it up so when you mouse over the category the subcategories will pop up (to the right of the main list, but that''s just CSS). This is what I have so far: <% for category in @categories %> <a href="#"
2009 Jan 20
4
Shared templates across controllers
Hey all, Here''s my situation: I have a pair of controllers with associated models (called Services and Testimonials) that are quite similar. Because their CRUD behavior is executed via AJAX, the "templates" for the actions are all short .rjs files. Now, because of the similarity of the models, most of the templates are exactly the same, with only the object names changed. That
2006 Mar 31
7
Checkboxes expand to show new options when checked?
I''m writing a simple CMS where every item ("listing") HABTM categories and subcategories (which themselves belong_to a category). What I''m trying to do now is create a UI effect for listing creation: when you go to create a listing, only the possible categories will be shown, but when you select a category a set of new categories will be displayed like so: Lions
2003 Dec 05
3
MGCP IADs
Hi, For MGCP users. Is there any success stories with any MGCP IAD vendor. I?m trying to find an IAD which works with Asterisk. I?ve tried the Cisco IAD 2430 without success; but SIP on this IAD works but it?s limited (no authentication, no notify messages, etc) and with higher density IAD (16 or more ports) it?s nice to control using MGCP. Any information will be apreciated ! Thanks. --
2007 Sep 05
5
RSpec for dummies screencast?
Does anyone know of any RSpec screencasts for dummies, like me :) I have a Java background, but I have never written a java test in my life. I''ve never learned about TDD or BDD so I''m totally blank on everything that has anything to do with testing and stuff. Where should I start?!? ;) Christian... --~--~---------~--~----~------------~-------~--~----~ You received this
2010 Sep 21
2
Record the user log-in and log-out
Hi! I'm sorry but I need a *fast* reply, I've absolutely no time to search on docs. :-( I have a small network: about 8-10 XP client connected to a Samba PDC. I need to log who and when log in the PDC, because the national law requires to record these infos and preserve them for a certain time. Any tip will be apreciated!! Thanks Giovanni -------------- next part -------------- No
2003 May 17
5
how to construct tree under R
Hello. I have a hudge problem, don't know how to deal with it... I'm supposed to implement a tree structure in R, without using rpart library... I don't have any clue about appropriate approach... Anyway, I can't use pointers under R...so how to to it? lists, vectors... Anyway, does anybody knows how the regression tree in rpart was implemented... Someone please help! Thanks, ana